Interface AdvancedSecurityOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AdvancedSecurityOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:20.295Z") @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")
                 .samlAuthenticationEnabled(true)
                 .samlAuthenticationOptions(SAMLOptionsProperty.builder()
                         .idpEntityId("entity-id")
                         .idpMetadataContent("metadata-content-with-quotes-escaped")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getMasterUserArn

      @Stability(Stable) @Nullable default String getMasterUserArn()
      ARN for the master user.

      Only specify this or masterUserName, but not both.

      Default: - fine-grained access control is disabled

    • getMasterUserName

      @Stability(Stable) @Nullable default String getMasterUserName()
      Username for the master user.

      Only specify this or masterUserArn, but not both.

      Default: - fine-grained access control is disabled

    • getMasterUserPassword

      @Stability(Stable) @Nullable default SecretValue getMasterUserPassword()
      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

    • getSamlAuthenticationEnabled

      @Stability(Stable) @Nullable default Boolean getSamlAuthenticationEnabled()
      True to enable SAML authentication for a domain.

      Default: - SAML authentication is disabled. Enabled if `samlAuthenticationOptions` is set.

      See Also:
    • getSamlAuthenticationOptions

      @Stability(Stable) @Nullable default SAMLOptionsProperty getSamlAuthenticationOptions()
      Container for information about the SAML configuration for OpenSearch Dashboards.

      If set, samlAuthenticationEnabled will be enabled.

      Default: - no SAML authentication options

    • builder

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