Define a Cognito Identity Pool.
import { IdentityPool } from 'aws-cdk-lib/aws-cognito-identitypool';Or use the module namespace:
import * as cognito_identitypool from 'aws-cdk-lib/aws-cognito-identitypool';
// cognito_identitypool.IdentityPoolConfiguration passed to the constructor as IdentityPoolProps.
allowClassicFlowOptionalbooleanEnables the Basic (Classic) authentication flow.
Default: - Classic Flow not allowed
allowUnauthenticatedIdentitiesOptionalbooleanWhether the Identity Pool supports unauthenticated logins.
Default: - false
authenticatedRoleOptionalIRoleThe default Role to be assumed by authenticated users.
Default: - A default authenticated Role will be added
authenticationProvidersOptionalIdentityPoolAuthenticationProvidersAuthentication Providers for using in Identity Pool.
Default: - No Authentication Providers passed directly to Identity Pool
identityPoolNameOptionalstringThe name of the Identity Pool.
Default: - Automatically generated name by CloudFormation at deploy time
roleMappingsOptionalIdentityPoolRoleMapping[]Rules for mapping roles to users.
Default: - no role mappings
unauthenticatedRoleOptionalIRoleThe default Role to be assumed by unauthenticated users.
Default: - A default unauthenticated Role will be added
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-cognito-identitypool