Show / Hide Table of Contents

Class CfnDomain.MasterUserOptionsProperty

Specifies information about the master user. Required if you enabled the internal user database.

Inheritance
object
CfnDomain.MasterUserOptionsProperty
Implements
CfnDomain.IMasterUserOptionsProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomain.MasterUserOptionsProperty : CfnDomain.IMasterUserOptionsProperty
Syntax (vb)
Public Class CfnDomain.MasterUserOptionsProperty Implements CfnDomain.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> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html

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()

Specifies information about the master user. Required if you enabled the internal user database.

Properties

MasterUserArn

ARN for the master user.

MasterUserName

Username for the master user.

MasterUserPassword

Password for the master user.

Constructors

MasterUserOptionsProperty()

Specifies information about the master user. Required if you enabled the internal user database.

public MasterUserOptionsProperty()
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> .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html

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"
             };

Properties

MasterUserArn

ARN for the master user.

public string? MasterUserArn { get; set; }
Property Value

string

Remarks

Only specify if InternalUserDatabaseEnabled is false in AdvancedSecurityOptions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masteruserarn

MasterUserName

Username for the master user.

public string? MasterUserName { get; set; }
Property Value

string

Remarks

Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masterusername

MasterUserPassword

Password for the master user.

public string? MasterUserPassword { get; set; }
Property Value

string

Remarks

Only specify if InternalUserDatabaseEnabled is true in AdvancedSecurityOptions .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticsearch-domain-masteruseroptions.html#cfn-elasticsearch-domain-masteruseroptions-masteruserpassword

Implements

CfnDomain.IMasterUserOptionsProperty
Back to top Generated by DocFX