Class AdvancedSecurityOptions
(deprecated) Specifies options for fine-grained access control.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AdvancedSecurityOptions : Object, IAdvancedSecurityOptions
Syntax (vb)
Public Class AdvancedSecurityOptions
Inherits Object
Implements IAdvancedSecurityOptions
Remarks
Stability: Deprecated
ExampleMetadata: infused
Examples
var domain = new Domain(this, "Domain", new DomainProps {
Version = ElasticsearchVersion.V7_1,
EnforceHttps = true,
NodeToNodeEncryption = true,
EncryptionAtRest = new EncryptionAtRestOptions {
Enabled = true
},
FineGrainedAccessControl = new AdvancedSecurityOptions {
MasterUserName = "master-user"
}
});
var masterUserPassword = domain.MasterUserPassword;
Synopsis
Constructors
Advanced |
Properties
Master |
(deprecated) ARN for the master user. |
Master |
(deprecated) Username for the master user. |
Master |
(deprecated) Password for the master user. |
Constructors
AdvancedSecurityOptions()
public AdvancedSecurityOptions()
Properties
MasterUserArn
(deprecated) ARN for the master user.
public string MasterUserArn { get; set; }
Property Value
System.
Remarks
Only specify this or masterUserName, but not both.
Default: - fine-grained access control is disabled
Stability: Deprecated
MasterUserName
(deprecated) Username for the master user.
public string MasterUserName { get; set; }
Property Value
System.
Remarks
Only specify this or masterUserArn, but not both.
Default: - fine-grained access control is disabled
Stability: Deprecated
MasterUserPassword
(deprecated) Password for the master user.
public SecretValue MasterUserPassword { get; set; }
Property Value
Remarks
You can use SecretValue.unsafePlainText
to specify a password in plain text or
use secretsmanager.Secret.fromSecretAttributes
to reference a secret in
Secrets Manager.
Default: - A Secrets Manager generated password
Stability: Deprecated