Interface UserPoolIdentityProviderSamlProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,UserPoolIdentityProviderProps
- All Known Implementing Classes:
UserPoolIdentityProviderSamlProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:34.146Z")
@Stability(Stable)
public interface UserPoolIdentityProviderSamlProps
extends software.amazon.jsii.JsiiSerializable, UserPoolIdentityProviderProps
Properties to initialize UserPoolIdentityProviderSaml.
Example:
UserPool userpool = new UserPool(this, "Pool");
// specify the metadata as a file content
// specify the metadata as a file content
UserPoolIdentityProviderSaml.Builder.create(this, "userpoolIdpFile")
.userPool(userpool)
.metadata(UserPoolIdentityProviderSamlMetadata.file("my-file-contents"))
// Whether to require encrypted SAML assertions from IdP
.encryptedResponses(true)
// The signing algorithm for the SAML requests
.requestSigningAlgorithm(SigningAlgorithm.RSA_SHA256)
// Enable IdP initiated SAML auth flow
.idpInitiated(true)
.build();
// specify the metadata as a URL
// specify the metadata as a URL
UserPoolIdentityProviderSaml.Builder.create(this, "userpoolidpUrl")
.userPool(userpool)
.metadata(UserPoolIdentityProviderSamlMetadata.url("https://my-metadata-url.com"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPoolIdentityProviderSamlPropsstatic final classAn implementation forUserPoolIdentityProviderSamlProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanWhether to require encrypted SAML assertions from IdP.Identifiers.default BooleanWhether to enable IdP-initiated SAML auth flows.default BooleanWhether to enable the "Sign-out flow" feature.The SAML metadata.default StringgetName()The name of the provider.default SigningAlgorithmThe signing algorithm for SAML requests.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.cognito.UserPoolIdentityProviderProps
getAttributeMapping, getUserPool
-
Method Details
-
getMetadata
The SAML metadata. -
getEncryptedResponses
Whether to require encrypted SAML assertions from IdP.Default: false
- See Also:
-
getIdentifiers
Identifiers.Identifiers can be used to redirect users to the correct IdP in multitenant apps.
Default: - no identifiers used
-
getIdpInitiated
Whether to enable IdP-initiated SAML auth flows.Default: false
-
getIdpSignout
Whether to enable the "Sign-out flow" feature.Default: - false
-
getName
The name of the provider.Must be between 3 and 32 characters.
Default: - the unique ID of the construct
-
getRequestSigningAlgorithm
The signing algorithm for SAML requests.Default: - don't sign requests
- See Also:
-
builder
-