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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forIdentityPoolProps
static final class
An implementation forIdentityPoolProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdentityPoolProps.Builder
builder()
default Boolean
(experimental) Enables the Basic (Classic) authentication flow.default Boolean
(experimental) Whether the Identity Pool supports unauthenticated logins.default IRole
(experimental) The default Role to be assumed by authenticated users.(experimental) Authentication Providers for using in Identity Pool.default String
(experimental) The name of the Identity Pool.default List<IdentityPoolRoleMapping>
(experimental) Rules for mapping roles to users.default IRole
(experimental) The default Role to be assumed by unauthenticated users.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowClassicFlow
(experimental) Enables the Basic (Classic) authentication flow.Default: - Classic Flow not allowed
-
getAllowUnauthenticatedIdentities
(experimental) Whether the Identity Pool supports unauthenticated logins.Default: - false
-
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
(experimental) The name of the Identity Pool.Default: - Automatically generated name by CloudFormation at deploy time
-
getRoleMappings
(experimental) Rules for mapping roles to users.Default: - no role mappings
-
getUnauthenticatedRole
(experimental) The default Role to be assumed by unauthenticated users.Default: - A default unauthenticated Role will be added
-
builder
- Returns:
- a
IdentityPoolProps.Builder
ofIdentityPoolProps
-