# CfnIdentityPoolProps

Properties for defining a `CfnIdentityPool`.

Extends: CfnIdentityPoolProps
Used as props by: CfnIdentityPool

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

```ts
import * as cognito from 'aws-cdk-lib/aws-cognito';

declare const myProvider: iam.OpenIdConnectProvider;
new cognito.CfnIdentityPool(this, 'IdentityPool', {
  openIdConnectProviderArns: [myProvider.openIdConnectProviderArn],
  // And the other properties for your identity pool
  allowUnauthenticatedIdentities: false,
});
```

## Properties

- `allowClassicFlow`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Enables the Basic (Classic) authentication flow.

- `allowUnauthenticatedIdentities`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Specifies whether the identity pool supports unauthenticated logins.

- `cognitoEvents`: any — The events to configure.

- `cognitoIdentityProviders`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdentityPool.CognitoIdentityProviderProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnIdentityPool.CognitoIdentityProviderProperty.html)[] — The Amazon Cognito user pools and their client IDs.

- `cognitoStreams`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdentityPool.CognitoStreamsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnIdentityPool.CognitoStreamsProperty.html) — Configuration options for configuring Amazon Cognito streams.

- `developerProviderName`: string — The "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

- `identityPoolName`: string — The name of your Amazon Cognito identity pool.

  *Minimum length* : 1

  *Maximum length* : 128

  *Pattern* : `[\w\s+=,.@-]+`

- `identityPoolTags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.

- `openIdConnectProviderArns`: string | [IOIDCProviderRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_iam.IOIDCProviderRef.html)[] — The Amazon Resource Names (ARNs) of the OpenID connect providers.

- `pushSync`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdentityPool.PushSyncProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnIdentityPool.PushSyncProperty.html) — The configuration options to be applied to the identity pool.

- `samlProviderArns`: string[] — The Amazon Resource Names (ARNs) of the Security Assertion Markup Language (SAML) providers.

- `supportedLoginProviders`: any — Key-value pairs that map provider names to provider app IDs.
