@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:08.087Z")
public interface AdvancedSecurityOptions
Example:
Domain domain = Domain.Builder.create(this, "Domain") .version(EngineVersion.OPENSEARCH_1_0) .enforceHttps(true) .nodeToNodeEncryption(true) .encryptionAtRest(EncryptionAtRestOptions.builder() .enabled(true) .build()) .fineGrainedAccessControl(AdvancedSecurityOptions.builder() .masterUserName("master-user") .build()) .logging(LoggingOptions.builder() .auditLogEnabled(true) .slowSearchLogEnabled(true) .appLogEnabled(true) .slowIndexLogEnabled(true) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
AdvancedSecurityOptions.Builder
A builder for
AdvancedSecurityOptions |
static class |
AdvancedSecurityOptions.Jsii$Proxy
An implementation for
AdvancedSecurityOptions |
Modifier and Type | Method and Description |
---|---|
static AdvancedSecurityOptions.Builder |
builder() |
default java.lang.String |
getMasterUserArn()
ARN for the master user.
|
default java.lang.String |
getMasterUserName()
Username for the master user.
|
default SecretValue |
getMasterUserPassword()
Password for the master user.
|
default java.lang.String getMasterUserArn()
Only specify this or masterUserName, but not both.
Default: - fine-grained access control is disabled
default java.lang.String getMasterUserName()
Only specify this or masterUserArn, but not both.
Default: - fine-grained access control is disabled
default SecretValue getMasterUserPassword()
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
static AdvancedSecurityOptions.Builder builder()
AdvancedSecurityOptions.Builder
of AdvancedSecurityOptions