@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:08.129Z")
public interface CognitoOptions
Example:
Domain.Builder.create(this, "Domain") .cognitoDashboardsAuth(CognitoOptions.builder() .identityPoolId("test-identity-pool-id") .userPoolId("test-user-pool-id") .role(role) .build()) .version(openSearchVersion) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CognitoOptions.Builder
A builder for
CognitoOptions |
static class |
CognitoOptions.Jsii$Proxy
An implementation for
CognitoOptions |
Modifier and Type | Method and Description |
---|---|
static CognitoOptions.Builder |
builder() |
java.lang.String |
getIdentityPoolId()
The Amazon Cognito identity pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
|
IRole |
getRole()
A role that allows Amazon OpenSearch Service to configure your user pool and identity pool.
|
java.lang.String |
getUserPoolId()
The Amazon Cognito user pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
|
java.lang.String getIdentityPoolId()
IRole getRole()
It must have the AmazonESCognitoAccess
policy attached to it.
java.lang.String getUserPoolId()
static CognitoOptions.Builder builder()
CognitoOptions.Builder
of CognitoOptions