@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:53.764Z") @Stability(value=Experimental) public interface AdvancedSecurityOptions extends software.amazon.jsii.JsiiSerializable
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 String |
getMasterUserArn()
(experimental) ARN for the master user.
|
default String |
getMasterUserName()
(experimental) Username for the master user.
|
default SecretValue |
getMasterUserPassword()
(experimental) Password for the master user.
|
@Stability(value=Experimental) @Nullable default String getMasterUserArn()
Only specify this or masterUserName, but not both.
Default: - fine-grained access control is disabled
@Stability(value=Experimental) @Nullable default String getMasterUserName()
Only specify this or masterUserArn, but not both.
Default: - fine-grained access control is disabled
@Stability(value=Experimental) @Nullable 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
@Stability(value=Experimental) static AdvancedSecurityOptions.Builder builder()
AdvancedSecurityOptions.Builder of AdvancedSecurityOptionsCopyright © 2022. All rights reserved.