Interface IdentityPoolProps

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.469Z") @Stability(Experimental) public interface IdentityPoolProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props for the IdentityPool 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) Wwhether 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