Interface SAMLOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SAMLOptionsProperty.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:46.096Z")
@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 classA builder forSAMLOptionsPropertystatic final classAn implementation forSAMLOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionstatic SAMLOptionsProperty.Builderbuilder()The unique entity ID of the application in the SAML identity provider.The metadata of the SAML application, in XML format.default StringThe backend role that the SAML master user is mapped to.default StringThe SAML master username, which is stored in the domain's internal user database.default StringElement of the SAML assertion to use for backend roles.default NumberThe duration, in minutes, after which a user session becomes inactive.default StringElement 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
rolesKeyproperty.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.BuilderofSAMLOptionsProperty
-