@Stability(value=Stable)
public static interface CfnDomain.CognitoOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchservice.*;
CognitoOptionsProperty cognitoOptionsProperty = CognitoOptionsProperty.builder()
.enabled(false)
.identityPoolId("identityPoolId")
.roleArn("roleArn")
.userPoolId("userPoolId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDomain.CognitoOptionsProperty.Builder
A builder for
CfnDomain.CognitoOptionsProperty |
static class |
CfnDomain.CognitoOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.CognitoOptionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDomain.CognitoOptionsProperty.Builder |
builder() |
default Object |
getEnabled()
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
|
default String |
getIdentityPoolId()
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
|
default String |
getRoleArn()
The `AmazonOpenSearchServiceCognitoAccess` role that allows OpenSearch Service to configure your user pool and identity pool.
|
default String |
getUserPoolId()
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
|
@Stability(value=Stable) @Nullable default Object getEnabled()
See Amazon Cognito authentication for OpenSearch Dashboards .
@Stability(value=Stable) @Nullable default String getIdentityPoolId()
Required if you enabled Cognito Authentication for OpenSearch Dashboards.
@Stability(value=Stable) @Nullable default String getRoleArn()
Required if you enabled Cognito Authentication for OpenSearch Dashboards.
@Stability(value=Stable) @Nullable default String getUserPoolId()
Required if you enabled Cognito Authentication for OpenSearch Dashboards.
@Stability(value=Stable) static CfnDomain.CognitoOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.