Interface CfnDomainPropsMixin.CognitoOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainPropsMixin.CognitoOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnDomainPropsMixin
@Stability(Stable)
public static interface CfnDomainPropsMixin.CognitoOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Configures OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.opensearchservice.*;
CognitoOptionsProperty cognitoOptionsProperty = CognitoOptionsProperty.builder()
.enabled(false)
.identityPoolId("identityPoolId")
.roleArn("roleArn")
.userPoolId("userPoolId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainPropsMixin.CognitoOptionsPropertystatic final classAn implementation forCfnDomainPropsMixin.CognitoOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectWhether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.default ObjectThe Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.default ObjectTheAmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.default ObjectThe Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.See Amazon Cognito authentication for OpenSearch Dashboards .
Returns union: either
BooleanorIResolvable- See Also:
-
getIdentityPoolId
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.Required if you enabled Cognito Authentication for OpenSearch Dashboards.
Returns union: either
StringorIIdentityPoolRef- See Also:
-
getRoleArn
TheAmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.Required if you enabled Cognito Authentication for OpenSearch Dashboards.
- See Also:
-
getUserPoolId
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.Required if you enabled Cognito Authentication for OpenSearch Dashboards.
Returns union: either
StringorIUserPoolRef- See Also:
-
builder
-