Interface IdentityPoolProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IdentityPoolProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:01.657Z")
@Stability(Stable)
public interface IdentityPoolProps
extends software.amazon.jsii.JsiiSerializable
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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIdentityPoolPropsstatic final classAn implementation forIdentityPoolProps -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentityPoolProps.Builderbuilder()default BooleanEnables the Basic (Classic) authentication flow.default BooleanWhether the Identity Pool supports unauthenticated logins.default IRoleThe default Role to be assumed by authenticated users.Authentication Providers for using in Identity Pool.default StringThe name of the Identity Pool.default List<IdentityPoolRoleMapping> Rules for mapping roles to users.default IRoleThe default Role to be assumed by unauthenticated users.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowClassicFlow
Enables the Basic (Classic) authentication flow.Default: - Classic Flow not allowed
-
getAllowUnauthenticatedIdentities
Whether the Identity Pool supports unauthenticated logins.Default: - false
-
getAuthenticatedRole
The default Role to be assumed by authenticated users.Default: - A default authenticated Role will be added
-
getAuthenticationProviders
@Stability(Stable) @Nullable default IdentityPoolAuthenticationProviders getAuthenticationProviders()Authentication Providers for using in Identity Pool.Default: - No Authentication Providers passed directly to Identity Pool
-
getIdentityPoolName
The name of the Identity Pool.Default: - Automatically generated name by CloudFormation at deploy time
-
getRoleMappings
Rules for mapping roles to users.Default: - no role mappings
-
getUnauthenticatedRole
The default Role to be assumed by unauthenticated users.Default: - A default unauthenticated Role will be added
-
builder
- Returns:
- a
IdentityPoolProps.BuilderofIdentityPoolProps
-