Interface SAMLOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SAMLOptionsProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:25:01.813Z")
@Stability(Stable)
public interface SAMLOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Container for information about the SAML configuration for OpenSearch Dashboards.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forSAMLOptionsProperty
static final class
An implementation forSAMLOptionsProperty
-
Method Summary
Modifier and TypeMethodDescriptionstatic SAMLOptionsProperty.Builder
builder()
The unique entity ID of the application in the SAML identity provider.The metadata of the SAML application, in XML format.default String
The backend role that the SAML master user is mapped to.default String
The SAML master username, which is stored in the domain's internal user database.default String
Element of the SAML assertion to use for backend roles.default Number
The duration, in minutes, after which a user session becomes inactive.default String
Element of the SAML assertion to use for the user name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIdpEntityId
The unique entity ID of the application in the SAML identity provider. -
getIdpMetadataContent
The metadata of the SAML application, in XML format. -
getMasterBackendRole
The backend role that the SAML master user is mapped to.Any users with this backend role receives full permission in OpenSearch Dashboards/Kibana. To use a SAML master backend role, configure the
rolesKey
property.Default: - The master user is not mapped to a backend role
-
getMasterUserName
The SAML master username, which is stored in the domain's internal user database.This SAML user receives full permission in OpenSearch Dashboards/Kibana. Creating a new master username does not delete any existing master usernames.
Default: - No master user name is configured
-
getRolesKey
Element of the SAML assertion to use for backend roles.Default: - roles
-
getSessionTimeoutMinutes
The duration, in minutes, after which a user session becomes inactive.Default: - 60
-
getSubjectKey
Element of the SAML assertion to use for the user name.Default: - NameID element of the SAML assertion fot the user name
-
builder
- Returns:
- a
SAMLOptionsProperty.Builder
ofSAMLOptionsProperty
-