Interface CfnDomain.SAMLOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.SAMLOptionsProperty.Jsii$Proxy
- Enclosing class:
- CfnDomain
@Stability(Stable)
public static interface CfnDomain.SAMLOptionsProperty
extends software.amazon.jsii.JsiiSerializable
Container for information about the SAML configuration for OpenSearch Dashboards.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.opensearchservice.*; SAMLOptionsProperty sAMLOptionsProperty = SAMLOptionsProperty.builder() .enabled(false) .idp(IdpProperty.builder() .entityId("entityId") .metadataContent("metadataContent") .build()) .masterBackendRole("masterBackendRole") .masterUserName("masterUserName") .rolesKey("rolesKey") .sessionTimeoutMinutes(123) .subjectKey("subjectKey") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDomain.SAMLOptionsProperty
static final class
An implementation forCfnDomain.SAMLOptionsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
True to enable SAML authentication for a domain.default Object
getIdp()
The SAML Identity Provider's information.default String
The backend role that the SAML master user is mapped to.default String
The SAML master user name, 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
-
getEnabled
True to enable SAML authentication for a domain. -
getIdp
The SAML Identity Provider's information. -
getMasterBackendRole
The backend role that the SAML master user is mapped to. -
getMasterUserName
The SAML master user name, which is stored in the domain's internal user database. -
getRolesKey
Element of the SAML assertion to use for backend roles.Default is
roles
. -
getSessionTimeoutMinutes
The duration, in minutes, after which a user session becomes inactive.Acceptable values are between 1 and 1440, and the default value is 60.
-
getSubjectKey
Element of the SAML assertion to use for the user name.Default is
NameID
. -
builder
-