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:
IResource, ISamlProvider, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:02.821Z") @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();
 
  • 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

      @Stability(Stable) @NotNull public String getSamlProviderArn()
      The Amazon Resource Name (ARN) of the provider.
      Specified by:
      getSamlProviderArn in interface ISamlProvider