@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.080Z") @Stability(value=Stable) 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()
ARN for the master user.
|
default String |
getMasterUserName()
Username for the master user.
|
default SecretValue |
getMasterUserPassword()
Password for the master user.
|
@Stability(value=Stable) @Nullable default String getMasterUserArn()
Only specify this or masterUserName, but not both.
Default: - fine-grained access control is disabled
@Stability(value=Stable) @Nullable default String getMasterUserName()
Only specify this or masterUserArn, but not both.
Default: - fine-grained access control is disabled
@Stability(value=Stable) @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=Stable) static AdvancedSecurityOptions.Builder builder()
AdvancedSecurityOptions.Builder of AdvancedSecurityOptionsCopyright © 2022. All rights reserved.