Class SamlProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.iam.SamlProvider
- All Implemented Interfaces:
ISAMLProviderRef,IEnvironmentAware,IResource,ISamlProvider,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-19T12:03:55.641Z")
@Stability(Stable)
public class SamlProvider
extends Resource
implements ISamlProvider
A SAML provider.
Example:
SamlProvider provider = SamlProvider.Builder.create(this, "Provider")
.metadataDocument(SamlMetadataDocument.fromFile("/path/to/saml-metadata-document.xml"))
.build();
Role.Builder.create(this, "Role")
.assumedBy(new SamlConsolePrincipal(provider))
.build();
-
Nested Class Summary
Nested ClassesNested 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.iam.ISamlProvider
ISamlProvider.Jsii$Default, ISamlProvider.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSamlProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedSamlProvider(software.amazon.jsii.JsiiObjectRef objRef) SamlProvider(software.constructs.Construct scope, String id, SamlProviderProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic ISamlProviderfromSamlProviderArn(software.constructs.Construct scope, String id, String samlProviderArn) Import an existing provider.The Amazon Resource Name (ARN) of the provider.A reference to a SAMLProvider resource.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
-
SamlProvider
protected SamlProvider(software.amazon.jsii.JsiiObjectRef objRef) -
SamlProvider
protected SamlProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
SamlProvider
@Stability(Stable) public SamlProvider(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SamlProviderProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromSamlProviderArn
@Stability(Stable) @NotNull public static ISamlProvider fromSamlProviderArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String samlProviderArn) Import an existing provider.- Parameters:
scope- This parameter is required.id- This parameter is required.samlProviderArn- This parameter is required.
-
getSamlProviderArn
The Amazon Resource Name (ARN) of the provider.- Specified by:
getSamlProviderArnin interfaceISamlProvider
-
getSamlProviderRef
A reference to a SAMLProvider resource.- Specified by:
getSamlProviderRefin interfaceISAMLProviderRef
-