Class UserPoolIdentityProviderSaml.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSaml.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserPoolIdentityProviderSaml>
- Enclosing class:
UserPoolIdentityProviderSaml
@Stability(Stable)
public static final class UserPoolIdentityProviderSaml.Builder
extends Object
implements software.amazon.jsii.Builder<UserPoolIdentityProviderSaml>
A fluent builder for
UserPoolIdentityProviderSaml.-
Method Summary
Modifier and TypeMethodDescriptionattributeMapping(AttributeMapping attributeMapping) Mapping attributes from the identity provider to standard and custom attributes of the user pool.build()encryptedResponses(Boolean encryptedResponses) Whether to require encrypted SAML assertions from IdP.identifiers(List<String> identifiers) Identifiers.idpInitiated(Boolean idpInitiated) Whether to enable IdP-initiated SAML auth flows.idpSignout(Boolean idpSignout) Whether to enable the "Sign-out flow" feature.metadata(UserPoolIdentityProviderSamlMetadata metadata) The SAML metadata.The name of the provider.requestSigningAlgorithm(SigningAlgorithm requestSigningAlgorithm) The signing algorithm for SAML requests.The user pool to which this construct provides identities.
-
Method Details
-
create
@Stability(Stable) public static UserPoolIdentityProviderSaml.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
UserPoolIdentityProviderSaml.Builder.
-
userPool
The user pool to which this construct provides identities.- Parameters:
userPool- The user pool to which this construct provides identities. This parameter is required.- Returns:
this
-
attributeMapping
@Stability(Stable) public UserPoolIdentityProviderSaml.Builder attributeMapping(AttributeMapping attributeMapping) Mapping attributes from the identity provider to standard and custom attributes of the user pool.Default: - no attribute mapping
- Parameters:
attributeMapping- Mapping attributes from the identity provider to standard and custom attributes of the user pool. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public UserPoolIdentityProviderSaml.Builder metadata(UserPoolIdentityProviderSamlMetadata metadata) The SAML metadata.- Parameters:
metadata- The SAML metadata. This parameter is required.- Returns:
this
-
encryptedResponses
@Stability(Stable) public UserPoolIdentityProviderSaml.Builder encryptedResponses(Boolean encryptedResponses) Whether to require encrypted SAML assertions from IdP.Default: false
- Parameters:
encryptedResponses- Whether to require encrypted SAML assertions from IdP. This parameter is required.- Returns:
this- See Also:
-
identifiers
@Stability(Stable) public UserPoolIdentityProviderSaml.Builder identifiers(List<String> identifiers) Identifiers.Identifiers can be used to redirect users to the correct IdP in multitenant apps.
Default: - no identifiers used
- Parameters:
identifiers- Identifiers. This parameter is required.- Returns:
this
-
idpInitiated
Whether to enable IdP-initiated SAML auth flows.Default: false
- Parameters:
idpInitiated- Whether to enable IdP-initiated SAML auth flows. This parameter is required.- Returns:
this
-
idpSignout
Whether to enable the "Sign-out flow" feature.Default: - false
- Parameters:
idpSignout- Whether to enable the "Sign-out flow" feature. This parameter is required.- Returns:
this
-
name
The name of the provider.Must be between 3 and 32 characters.
Default: - the unique ID of the construct
- Parameters:
name- The name of the provider. This parameter is required.- Returns:
this
-
requestSigningAlgorithm
@Stability(Stable) public UserPoolIdentityProviderSaml.Builder requestSigningAlgorithm(SigningAlgorithm requestSigningAlgorithm) The signing algorithm for SAML requests.Default: - don't sign requests
- Parameters:
requestSigningAlgorithm- The signing algorithm for SAML requests. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<UserPoolIdentityProviderSaml>- Returns:
- a newly built instance of
UserPoolIdentityProviderSaml.
-