CognitoOptions

class aws_cdk.aws_elasticsearch.CognitoOptions(*, identity_pool_id, role, user_pool_id)

Bases: object

Configures Amazon ES to use Amazon Cognito authentication for Kibana.

Parameters
  • identity_pool_id (str) – 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. It must have the AmazonESCognitoAccess policy attached to it.

  • user_pool_id (str) – The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication.

See

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html

Attributes

identity_pool_id

The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication.

Return type

str

role

A role that allows Amazon ES to configure your user pool and identity pool.

It must have the AmazonESCognitoAccess policy attached to it.

See

https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html#es-cognito-auth-prereq

Return type

IRole

user_pool_id

The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication.

Return type

str