Class CfnDomain.MasterUserOptionsProperty
Specifies information about the master user. Required if you enabled the internal user database.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class MasterUserOptionsProperty : Object, CfnDomain.IMasterUserOptionsProperty
Syntax (vb)
Public Class MasterUserOptionsProperty
Inherits Object
Implements CfnDomain.IMasterUserOptionsProperty
Remarks
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 .
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.AWS.Elasticsearch;
var masterUserOptionsProperty = new MasterUserOptionsProperty {
MasterUserArn = "masterUserArn",
MasterUserName = "masterUserName",
MasterUserPassword = "masterUserPassword"
};
Synopsis
Constructors
MasterUserOptionsProperty() |
Properties
MasterUserArn | ARN for the master user. |
MasterUserName | Username for the master user. |
MasterUserPassword | Password for the master user. |
Constructors
MasterUserOptionsProperty()
public MasterUserOptionsProperty()
Properties
MasterUserArn
ARN for the master user.
public string MasterUserArn { get; set; }
Property Value
System.String
Remarks
Only specify if InternalUserDatabaseEnabled
is false in AdvancedSecurityOptions
.
MasterUserName
Username for the master user.
public string MasterUserName { get; set; }
Property Value
System.String
Remarks
Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptions
.
MasterUserPassword
Password for the master user.
public string MasterUserPassword { get; set; }
Property Value
System.String
Remarks
Only specify if InternalUserDatabaseEnabled
is true in AdvancedSecurityOptions
.