AWS::Cognito::IdentityPoolThe `AWS::Cognito::IdentityPool` resource creates an Amazon Cognito identity pool. To avoid deleting the resource accidentally from CloudFormation , use [DeletionPolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html) and the [UpdateReplacePolicy Attribute](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html) to retain the resource on deletion or replacement.
import { CfnIdentityPool } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.CfnIdentityPoolConfiguration passed to the constructor as CfnIdentityPoolProps.
allowUnauthenticatedIdentitiesRequiredboolean | IResolvableSpecifies whether the identity pool supports unauthenticated logins.
allowClassicFlowOptionalboolean | IResolvableEnables the Basic (Classic) authentication flow.
cognitoEventsOptionalanyThe events to configure.
cognitoIdentityProvidersOptionalIResolvable | IResolvable | CognitoIdentityProviderProperty[]The Amazon Cognito user pools and their client IDs.
cognitoStreamsOptionalIResolvable | CognitoStreamsPropertyConfiguration options for configuring Amazon Cognito streams.
developerProviderNameOptionalstringThe "domain" Amazon Cognito uses when referencing your users. This name acts as a placeholder that allows your backend and the Amazon Cognito service to communicate about the developer provider. For the `DeveloperProviderName` , you can use letters and periods (.), underscores (_), and dashes (-). *Minimum length* : 1 *Maximum length* : 100
identityPoolNameOptionalstringThe name of your Amazon Cognito identity pool. *Minimum length* : 1 *Maximum length* : 128 *Pattern* : `[\w\s+=,.@-]+`
identityPoolTagsOptionalCfnTag[]Tags to assign to the identity pool. A tag is a label that you can apply to identity pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
openIdConnectProviderArnsOptionalstring | IOIDCProviderRef[]The Amazon Resource Names (ARNs) of the OpenID connect providers.
pushSyncOptionalIResolvable | PushSyncPropertyThe configuration options to be applied to the identity pool.
samlProviderArnsOptionalstring[]The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.
supportedLoginProvidersOptionalanyKey-value pairs that map provider names to provider app IDs.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognitoAWS::Cognito::IdentityPool