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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomain.SAMLOptionsPropertystatic final classAn implementation forCfnDomain.SAMLOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectTrue to enable SAML authentication for a domain.default ObjectgetIdp()The SAML Identity Provider's information.default StringThe backend role that the SAML master user is mapped to.default StringThe SAML master user name, 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
-
getEnabled
True to enable SAML authentication for a domain.Returns union: either
BooleanorIResolvable- See Also:
-
getIdp
The SAML Identity Provider's information.Returns union: either
IResolvableorCfnDomain.IdpProperty- See Also:
-
getMasterBackendRole
The backend role that the SAML master user is mapped to.- See Also:
-
getMasterUserName
The SAML master user name, which is stored in the domain's internal user database.- See Also:
-
getRolesKey
Element of the SAML assertion to use for backend roles.Default is
roles.- See Also:
-
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.
- See Also:
-
getSubjectKey
Element of the SAML assertion to use for the user name.Default is
NameID.- See Also:
-
builder
-