@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:53.806Z") @Stability(value=Experimental) public interface CognitoOptions extends software.amazon.jsii.JsiiSerializable
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() |
String |
getIdentityPoolId()
(experimental) The Amazon Cognito identity pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
|
IRole |
getRole()
(experimental) A role that allows Amazon OpenSearch Service to configure your user pool and identity pool.
|
String |
getUserPoolId()
(experimental) The Amazon Cognito user pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
|
@Stability(value=Experimental) @NotNull String getIdentityPoolId()
@Stability(value=Experimental) @NotNull IRole getRole()
It must have the AmazonESCognitoAccess policy attached to it.
@Stability(value=Experimental) @NotNull String getUserPoolId()
@Stability(value=Experimental) static CognitoOptions.Builder builder()
CognitoOptions.Builder of CognitoOptionsCopyright © 2022. All rights reserved.