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:
IEnvironmentAware,IResource,IUserPoolIdentityProvider,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:17.444Z")
@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 classA fluent builder forUserPoolIdentityProviderSaml.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.IUserPoolIdentityProvider
IUserPoolIdentityProvider.Jsii$Default, IUserPoolIdentityProvider.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUserPoolIdentityProviderSaml(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedUserPoolIdentityProviderSaml(software.amazon.jsii.JsiiObjectRef objRef) UserPoolIdentityProviderSaml(software.constructs.Construct scope, String id, UserPoolIdentityProviderSamlProps props) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectThe primary identifier of this identity provider.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
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:
getProviderNamein interfaceIUserPoolIdentityProvider
-