Interface CfnDomainPropsMixin.IMasterUserOptionsProperty
Specifies information about the master user. Required if you enabled the internal user database.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Elasticsearch
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnDomainPropsMixin.IMasterUserOptionsProperty
Syntax (vb)
Public Interface CfnDomainPropsMixin.IMasterUserOptionsProperty
Remarks
The <code>AWS::Elasticsearch::Domain</code> resource is being replaced by the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchservice-domain.html">AWS::OpenSearchService::Domain</a> 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 <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/rename.html#rename-resource">New resource types</a> in the <em>Amazon OpenSearch Service Developer Guide</em> .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Elasticsearch;
var masterUserOptionsProperty = new MasterUserOptionsProperty {
MasterUserArn = "masterUserArn",
MasterUserName = "masterUserName",
MasterUserPassword = "masterUserPassword"
};
Synopsis
Properties
| MasterUserArn | ARN for the master user. |
| MasterUserName | Username for the master user. |
| MasterUserPassword | Password for the master user. |
Properties
MasterUserArn
ARN for the master user.
string? MasterUserArn { get; }
Property Value
Remarks
Only specify if InternalUserDatabaseEnabled is false in AdvancedSecurityOptions .
MasterUserName
Username for the master user.
string? MasterUserName { get; }
Property Value
Remarks
Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .
MasterUserPassword
Password for the master user.
string? MasterUserPassword { get; }
Property Value
Remarks
Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .