Class AdvancedSecurityOptions
(deprecated) Specifies options for fine-grained access control.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Elasticsearch
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AdvancedSecurityOptions : IAdvancedSecurityOptions
Syntax (vb)
Public Class AdvancedSecurityOptions 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
AdvancedSecurityOptions() | (deprecated) Specifies options for fine-grained access control. |
Properties
MasterUserArn | (deprecated) ARN for the master user. |
MasterUserName | (deprecated) Username for the master user. |
MasterUserPassword | (deprecated) Password for the master user. |
Constructors
AdvancedSecurityOptions()
(deprecated) Specifies options for fine-grained access control.
public AdvancedSecurityOptions()
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;
Properties
MasterUserArn
(deprecated) ARN for the master user.
[Obsolete("use opensearchservice module instead")]
public string? MasterUserArn { get; set; }
Property Value
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.
[Obsolete("use opensearchservice module instead")]
public string? MasterUserName { get; set; }
Property Value
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.
[Obsolete("use opensearchservice module instead")]
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