This is a deprecated Alpha module for AWS CDK that provided L2 constructs for Amazon Cognito Identity Pools. As of version 2.186.0a0, the constructs have been moved to the stable aws-cdk-lib/aws-cognito-identitypool module. The module is in maintenance mode and will not receive further updates. Users are strongly advised to migrate to the stable module.
pip install aws-cdk-aws-cognito-identitypool-alphaVerified import paths — ran on the pinned version, not inferred.
Minimal example of creating an IdentityPool with a Cognito User Pool authentication provider. For new projects, use the stable module aws-cdk-lib/aws-cognito-identitypool.
Replace imports from 'aws_cdk.aws_cognito_identitypool_alpha' with 'aws_cdk.aws_cognito_identitypool'. See migration guide: https://docs.aws.amazon.com/cdk/latest/guide/cognito-identitypool.html
Use the stable module's IdentityPool which provides a more consistent API for role mappings.
Update imports to 'from aws_cdk.aws_cognito_identitypool import ...' and remove 'aws-cdk-aws-cognito-identitypool-alpha' from dependencies.
Use a compatible version of aws-cdk-lib or migrate to the stable module.
Install the package: pip install aws-cdk-aws-cognito-identitypool-alpha. For new projects, use aws_cdk.aws_cognito_identitypool instead.
Verify the class exists: pip show aws-cdk-aws-cognito-identitypool-alpha and check the correct class name. For migration, use aws_cdk.aws_cognito_identitypool.IdentityPool.