AWS::Elasticsearch::Domain MasterUserOptions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Elasticsearch::Domain MasterUserOptions

Specifies information about the master user. Required if you enabled the internal user database.

Important

The AWS::Elasticsearch::Domain resource is being replaced by the AWS::OpenSearchService::Domain resource. While the legacy Elasticsearch resource and options are still supported, we recommend modifying your existing Cloudformation templates to use the new OpenSearch Service resource, which supports both OpenSearch and Elasticsearch. For more information about the service rename, see New resource types in the Amazon OpenSearch Service Developer Guide.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "MasterUserARN" : String, "MasterUserName" : String, "MasterUserPassword" : String }

YAML

MasterUserARN: String MasterUserName: String MasterUserPassword: String

Properties

MasterUserARN

ARN for the master user. Only specify if InternalUserDatabaseEnabled is false in AdvancedSecurityOptions.

Required: Conditional

Type: String

Update requires: No interruption

MasterUserName

Username for the master user. Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions.

Required: Conditional

Type: String

Update requires: No interruption

MasterUserPassword

Password for the master user. Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions.

Required: Conditional

Type: String

Update requires: No interruption