interface CognitoOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Elasticsearch.CognitoOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticsearch#CognitoOptions |
Java | software.amazon.awscdk.services.elasticsearch.CognitoOptions |
Python | aws_cdk.aws_elasticsearch.CognitoOptions |
TypeScript (source) | aws-cdk-lib » aws_elasticsearch » CognitoOptions |
⚠️ Deprecated: use opensearchservice module instead
Configures Amazon ES to use Amazon Cognito authentication for Kibana.
Example
new es.Domain(this, 'Domain', {
cognitoKibanaAuth: {
identityPoolId: 'test-identity-pool-id',
userPoolId: 'test-user-pool-id',
role: role,
},
version: elasticsearchVersion,
});
Properties
Name | Type | Description |
---|---|---|
identity | string | The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication. |
role | IRole | A role that allows Amazon ES to configure your user pool and identity pool. |
user | string | The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication. |
identityPoolId
⚠️ Deprecated: use opensearchservice module instead
Type:
string
The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication.
role
⚠️ Deprecated: use opensearchservice module instead
Type:
IRole
A role that allows Amazon ES to configure your user pool and identity pool.
It must have the AmazonESCognitoAccess
policy attached to it.
userPoolId
⚠️ Deprecated: use opensearchservice module instead
Type:
string
The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication.