Interface AdvancedSecurityOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AdvancedSecurityOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.523Z")
@Stability(Stable)
public interface AdvancedSecurityOptions
extends software.amazon.jsii.JsiiSerializable
Specifies options for fine-grained access control.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAdvancedSecurityOptionsstatic final classAn implementation forAdvancedSecurityOptions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringARN for the master user.default StringUsername for the master user.default SecretValuePassword for the master user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMasterUserArn
ARN for the master user.Only specify this or masterUserName, but not both.
Default: - fine-grained access control is disabled
-
getMasterUserName
Username for the master user.Only specify this or masterUserArn, but not both.
Default: - fine-grained access control is disabled
-
getMasterUserPassword
Password for the master user.You can use
SecretValue.unsafePlainTextto specify a password in plain text or usesecretsmanager.Secret.fromSecretAttributesto reference a secret in Secrets Manager.Default: - A Secrets Manager generated password
-
builder
- Returns:
- a
AdvancedSecurityOptions.BuilderofAdvancedSecurityOptions
-