Class UserPoolIdentityProviderAmazon

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.cognito.UserPoolIdentityProviderAmazon
All Implemented Interfaces:
IConstruct, IDependable, IResource, IUserPoolIdentityProvider, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.077Z") @Stability(Stable) public class UserPoolIdentityProviderAmazon extends Resource implements IUserPoolIdentityProvider
Represents a identity provider that integrates with 'Login with Amazon'.

Example:

 UserPool pool = new UserPool(this, "Pool");
 UserPoolIdentityProviderAmazon provider = UserPoolIdentityProviderAmazon.Builder.create(this, "Amazon")
         .userPool(pool)
         .clientId("amzn-client-id")
         .clientSecret("amzn-client-secret")
         .build();
 UserPoolClient client = pool.addClient("app-client", UserPoolClientOptions.builder()
         // ...
         .supportedIdentityProviders(List.of(UserPoolClientIdentityProvider.AMAZON))
         .build());
 client.node.addDependency(provider);
 
  • Constructor Details

    • UserPoolIdentityProviderAmazon

      protected UserPoolIdentityProviderAmazon(software.amazon.jsii.JsiiObjectRef objRef)
    • UserPoolIdentityProviderAmazon

      protected UserPoolIdentityProviderAmazon(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • UserPoolIdentityProviderAmazon

      @Stability(Stable) public UserPoolIdentityProviderAmazon(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull UserPoolIdentityProviderAmazonProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • configureAttributeMapping

      @Stability(Stable) @NotNull protected Object configureAttributeMapping()
    • getProviderName

      @Stability(Stable) @NotNull public String getProviderName()
      The primary identifier of this identity provider.
      Specified by:
      getProviderName in interface IUserPoolIdentityProvider