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.423Z") @Stability(Deprecated) @Deprecated public interface AdvancedSecurityOptions extends software.amazon.jsii.JsiiSerializable
Deprecated.
use opensearchservice module instead
(deprecated) Specifies options for fine-grained access control.

Example:

 Domain domain = Domain.Builder.create(this, "Domain")
         .version(ElasticsearchVersion.V7_1)
         .enforceHttps(true)
         .nodeToNodeEncryption(true)
         .encryptionAtRest(EncryptionAtRestOptions.builder()
                 .enabled(true)
                 .build())
         .fineGrainedAccessControl(AdvancedSecurityOptions.builder()
                 .masterUserName("master-user")
                 .build())
         .build();
 SecretValue masterUserPassword = domain.getMasterUserPassword();
 

  • Method Details

    • getMasterUserArn

      @Stability(Deprecated) @Deprecated @Nullable default String getMasterUserArn()
      Deprecated.
      use opensearchservice module instead
      (deprecated) ARN for the master user.

      Only specify this or masterUserName, but not both.

      Default: - fine-grained access control is disabled

    • getMasterUserName

      @Stability(Deprecated) @Deprecated @Nullable default String getMasterUserName()
      Deprecated.
      use opensearchservice module instead
      (deprecated) Username for the master user.

      Only specify this or masterUserArn, but not both.

      Default: - fine-grained access control is disabled

    • getMasterUserPassword

      @Stability(Deprecated) @Deprecated @Nullable default SecretValue getMasterUserPassword()
      Deprecated.
      use opensearchservice module instead
      (deprecated) Password for the master user.

      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

    • builder

      @Stability(Deprecated) @Deprecated static AdvancedSecurityOptions.Builder builder()
      Deprecated.
      Returns:
      a AdvancedSecurityOptions.Builder of AdvancedSecurityOptions