Class UserPoolIdentityProviderSaml
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.cognito.UserPoolIdentityProviderSaml
- All Implemented Interfaces:
IResource
,IUserPoolIdentityProvider
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:55.717Z")
@Stability(Stable)
public class UserPoolIdentityProviderSaml
extends Resource
implements IUserPoolIdentityProvider
Represents an identity provider that integrates with SAML.
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 TypeClassDescriptionstatic final class
A fluent builder forUserPoolIdentityProviderSaml
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.IUserPoolIdentityProvider
IUserPoolIdentityProvider.Jsii$Default, IUserPoolIdentityProvider.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UserPoolIdentityProviderSaml
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
UserPoolIdentityProviderSaml
(software.amazon.jsii.JsiiObjectRef objRef) UserPoolIdentityProviderSaml
(software.constructs.Construct scope, String id, UserPoolIdentityProviderSamlProps props) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
The primary identifier of this identity provider.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
UserPoolIdentityProviderSaml
protected UserPoolIdentityProviderSaml(software.amazon.jsii.JsiiObjectRef objRef) -
UserPoolIdentityProviderSaml
protected UserPoolIdentityProviderSaml(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
UserPoolIdentityProviderSaml
@Stability(Stable) public UserPoolIdentityProviderSaml(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull UserPoolIdentityProviderSamlProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
configureAttributeMapping
-
getProviderName
The primary identifier of this identity provider.- Specified by:
getProviderName
in interfaceIUserPoolIdentityProvider
-