Interface IdentityPoolProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IdentityPoolProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.211Z") @Stability(Experimental) public interface IdentityPoolProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props for the Identity Pool construct.

Example:

 OpenIdConnectProvider openIdConnectProvider;
 IdentityPool.Builder.create(this, "myidentitypool")
         .identityPoolName("myidentitypool")
         .authenticationProviders(IdentityPoolAuthenticationProviders.builder()
                 .google(IdentityPoolGoogleLoginProvider.builder()
                         .clientId("12345678012.apps.googleusercontent.com")
                         .build())
                 .openIdConnectProviders(List.of(openIdConnectProvider))
                 .customProvider("my-custom-provider.example.com")
                 .build())
         .build();
 
  • Method Details

    • getAllowClassicFlow

      @Stability(Experimental) @Nullable default Boolean getAllowClassicFlow()
      (experimental) Enables the Basic (Classic) authentication flow.

      Default: - Classic Flow not allowed

    • getAllowUnauthenticatedIdentities

      @Stability(Experimental) @Nullable default Boolean getAllowUnauthenticatedIdentities()
      (experimental) Whether the Identity Pool supports unauthenticated logins.

      Default: - false

    • getAuthenticatedRole

      @Stability(Experimental) @Nullable default IRole getAuthenticatedRole()
      (experimental) The default Role to be assumed by authenticated users.

      Default: - A default authenticated Role will be added

    • getAuthenticationProviders

      @Stability(Experimental) @Nullable default IdentityPoolAuthenticationProviders getAuthenticationProviders()
      (experimental) Authentication Providers for using in Identity Pool.

      Default: - No Authentication Providers passed directly to Identity Pool

    • getIdentityPoolName

      @Stability(Experimental) @Nullable default String getIdentityPoolName()
      (experimental) The name of the Identity Pool.

      Default: - Automatically generated name by CloudFormation at deploy time

    • getRoleMappings

      @Stability(Experimental) @Nullable default List<IdentityPoolRoleMapping> getRoleMappings()
      (experimental) Rules for mapping roles to users.

      Default: - no role mappings

    • getUnauthenticatedRole

      @Stability(Experimental) @Nullable default IRole getUnauthenticatedRole()
      (experimental) The default Role to be assumed by unauthenticated users.

      Default: - A default unauthenticated Role will be added

    • builder

      @Stability(Experimental) static IdentityPoolProps.Builder builder()
      Returns:
      a IdentityPoolProps.Builder of IdentityPoolProps