public static interface CfnDomain.MasterUserOptionsProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomain.MasterUserOptionsProperty.Builder
A builder for
CfnDomain.MasterUserOptionsProperty |
static class |
CfnDomain.MasterUserOptionsProperty.Jsii$Proxy
An implementation for
CfnDomain.MasterUserOptionsProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDomain.MasterUserOptionsProperty.Builder |
builder() |
default java.lang.String |
getMasterUserArn()
ARN for the master user.
|
default java.lang.String |
getMasterUserName()
Username for the master user.
|
default java.lang.String |
getMasterUserPassword()
Password for the master user.
|
default java.lang.String getMasterUserArn()
Only specify if InternalUserDatabaseEnabled
is false in AdvancedSecurityOptions
.
default java.lang.String getMasterUserName()
Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptions
.
default java.lang.String getMasterUserPassword()
Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptions
.
static CfnDomain.MasterUserOptionsProperty.Builder builder()