@Stability(value=Stable)
public static interface CfnDomain.MasterUserOptionsProperty
extends software.amazon.jsii.JsiiSerializable
The
AWS::Elasticsearch::Domainresource 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 String |
getMasterUserArn()
ARN for the master user.
|
default String |
getMasterUserName()
Username for the master user.
|
default String |
getMasterUserPassword()
Password for the master user.
|
@Stability(value=Stable) @Nullable default String getMasterUserArn()
Only specify if InternalUserDatabaseEnabled is false in AdvancedSecurityOptions .
@Stability(value=Stable) @Nullable default String getMasterUserName()
Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .
@Stability(value=Stable) @Nullable default String getMasterUserPassword()
Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .
@Stability(value=Stable) static CfnDomain.MasterUserOptionsProperty.Builder builder()
Copyright © 2022. All rights reserved.