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.471Z")
@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();
-
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. -
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
-