Interface CognitoOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CognitoOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:21.790Z")
@Stability(Deprecated)
@Deprecated
public interface CognitoOptions
extends software.amazon.jsii.JsiiSerializable
Deprecated.
use opensearchservice module instead
(deprecated) Configures Amazon ES to use Amazon Cognito authentication for Kibana.
Example:
Domain.Builder.create(this, "Domain")
.cognitoKibanaAuth(CognitoOptions.builder()
.identityPoolId("test-identity-pool-id")
.userPoolId("test-user-pool-id")
.role(role)
.build())
.version(elasticsearchVersion)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic CognitoOptions.Builderbuilder()Deprecated.Deprecated.use opensearchservice module insteadgetRole()Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteadMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdentityPoolId
Deprecated.use opensearchservice module instead(deprecated) The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication. -
getRole
Deprecated.use opensearchservice module instead(deprecated) A role that allows Amazon ES to configure your user pool and identity pool.It must have the
AmazonESCognitoAccesspolicy attached to it.- See Also:
-
getUserPoolId
Deprecated.use opensearchservice module instead(deprecated) The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication. -
builder
Deprecated.- Returns:
- a
CognitoOptions.BuilderofCognitoOptions
-