Interface CognitoOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CognitoOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.579Z") @Stability(Stable) public interface CognitoOptions extends software.amazon.jsii.JsiiSerializable
Configures Amazon OpenSearch Service to use Amazon Cognito authentication for OpenSearch Dashboards.

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();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CognitoOptions
    static final class 
    An implementation for CognitoOptions
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The Amazon Cognito identity pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.
    A role that allows Amazon OpenSearch Service to configure your user pool and identity pool.
    The Amazon Cognito user pool ID that you want Amazon OpenSearch Service to use for OpenSearch Dashboards authentication.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson