@Stability(value=Stable) public static final class CfnDomain.CognitoOptionsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDomain.CognitoOptionsProperty>
CfnDomain.CognitoOptionsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDomain.CognitoOptionsProperty |
build()
Builds the configured instance.
|
CfnDomain.CognitoOptionsProperty.Builder |
enabled(Boolean enabled)
Sets the value of
CfnDomain.CognitoOptionsProperty.getEnabled() |
CfnDomain.CognitoOptionsProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnDomain.CognitoOptionsProperty.getEnabled() |
CfnDomain.CognitoOptionsProperty.Builder |
identityPoolId(String identityPoolId)
Sets the value of
CfnDomain.CognitoOptionsProperty.getIdentityPoolId() |
CfnDomain.CognitoOptionsProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnDomain.CognitoOptionsProperty.getRoleArn() |
CfnDomain.CognitoOptionsProperty.Builder |
userPoolId(String userPoolId)
Sets the value of
CfnDomain.CognitoOptionsProperty.getUserPoolId() |
@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty.Builder enabled(Boolean enabled)
CfnDomain.CognitoOptionsProperty.getEnabled()enabled - Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
See Amazon Cognito authentication for OpenSearch Dashboards .this@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty.Builder enabled(IResolvable enabled)
CfnDomain.CognitoOptionsProperty.getEnabled()enabled - Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
See Amazon Cognito authentication for OpenSearch Dashboards .this@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty.Builder identityPoolId(String identityPoolId)
CfnDomain.CognitoOptionsProperty.getIdentityPoolId()identityPoolId - 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.this@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty.Builder roleArn(String roleArn)
CfnDomain.CognitoOptionsProperty.getRoleArn()roleArn - The `AmazonOpenSearchServiceCognitoAccess` role that allows OpenSearch Service to configure your user pool and identity pool.
Required if you enabled Cognito Authentication for OpenSearch Dashboards.this@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty.Builder userPoolId(String userPoolId)
CfnDomain.CognitoOptionsProperty.getUserPoolId()userPoolId - 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.this@Stability(value=Stable) public CfnDomain.CognitoOptionsProperty build()
build in interface software.amazon.jsii.Builder<CfnDomain.CognitoOptionsProperty>CfnDomain.CognitoOptionsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.