@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.103Z") @Stability(value=Stable) public interface CognitoOptions extends software.amazon.jsii.JsiiSerializable
Example:
// Example automatically generated from non-compiling source. May contain errors.
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()
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.
|
String |
getUserPoolId()
The Amazon Cognito user pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
|
@Stability(value=Stable) @NotNull String getIdentityPoolId()
@Stability(value=Stable) @NotNull IRole getRole()
It must have the AmazonESCognitoAccess policy attached to it.
@Stability(value=Stable) @NotNull String getUserPoolId()
@Stability(value=Stable) static CognitoOptions.Builder builder()
CognitoOptions.Builder of CognitoOptionsCopyright © 2022. All rights reserved.