Interface CfnDomain.MasterUserOptionsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDomain.MasterUserOptionsProperty.Jsii$Proxy
Enclosing class:
CfnDomain

@Stability(Stable) public static interface CfnDomain.MasterUserOptionsProperty extends software.amazon.jsii.JsiiSerializable
Specifies information about the master user. Required if you enabled the internal user database.

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 .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticsearch.*;
 MasterUserOptionsProperty masterUserOptionsProperty = MasterUserOptionsProperty.builder()
         .masterUserArn("masterUserArn")
         .masterUserName("masterUserName")
         .masterUserPassword("masterUserPassword")
         .build();
 
  • Method Details

    • getMasterUserArn

      @Stability(Stable) @Nullable default String getMasterUserArn()
      ARN for the master user.

      Only specify if InternalUserDatabaseEnabled is false in AdvancedSecurityOptions .

    • getMasterUserName

      @Stability(Stable) @Nullable default String getMasterUserName()
      Username for the master user.

      Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .

    • getMasterUserPassword

      @Stability(Stable) @Nullable default String getMasterUserPassword()
      Password for the master user.

      Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .

    • builder

      @Stability(Stable) static CfnDomain.MasterUserOptionsProperty.Builder builder()
      Returns:
      a CfnDomain.MasterUserOptionsProperty.Builder of CfnDomain.MasterUserOptionsProperty