AdvancedSecurityOptions

class aws_cdk.aws_elasticsearch.AdvancedSecurityOptions(*, master_user_arn=None, master_user_name=None, master_user_password=None)

Bases: object

Specifies options for fine-grained access control.

Parameters
  • master_user_arn (Optional[str]) – ARN for the master user. Only specify this or masterUserName, but not both. Default: - fine-grained access control is disabled

  • master_user_name (Optional[str]) – Username for the master user. Only specify this or masterUserArn, but not both. Default: - fine-grained access control is disabled

  • master_user_password (Optional[SecretValue]) – Password for the master user. You can use SecretValue.plainText to specify a password in plain text or use secretsmanager.Secret.fromSecretAttributes to reference a secret in Secrets Manager. Default: - A Secrets Manager generated password

Attributes

master_user_arn

ARN for the master user.

Only specify this or masterUserName, but not both.

Default
  • fine-grained access control is disabled

Return type

Optional[str]

master_user_name

Username for the master user.

Only specify this or masterUserArn, but not both.

Default
  • fine-grained access control is disabled

Return type

Optional[str]

master_user_password

Password for the master user.

You can use SecretValue.plainText to specify a password in plain text or use secretsmanager.Secret.fromSecretAttributes to reference a secret in Secrets Manager.

Default
  • A Secrets Manager generated password

Return type

Optional[SecretValue]