aws-cdk.aws-cognito
The CDK Construct Library for AWS::Cognito
Decision gist · record as of 2026-08-14
No, unless you are maintaining an existing CDK v1 project. AWS CDK v1 is end-of-support since 2023-06-01 and receives no updates. New projects should use aws-cdk.aws-cognito from AWS CDK v2 instead, which is actively maintained and has a migration guide available.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- AWS CDK v1 is end-of-support as of 2023-06-01; new projects should use AWS CDK v2 instead.
- Low install friction with a wheel distribution.
- However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated; users should migrate to AWS CDK v2 instead.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 150,356 downloads/mo, #10,966 on PyPI
Alternatives
Verify before relying
pip install aws-cdk.aws-cognito
from aws_cdk import aws_cognito as cognito
user_pool = cognito.UserPool(self, "myuserpool",
user_pool_name="myawesomeapp-userpool"
)- Whether Identity Pool L2 constructs are available in this v1 package or only in the v2 alpha module.
- Current adoption and migration timeline for projects still on CDK v1.
What it is and what it does
This package provides a Python construct library for AWS CDK v1 that lets you define Amazon Cognito user pools and related authentication infrastructure declaratively. It wraps CloudFormation resources and higher-level abstractions for common Cognito patterns like sign-up, sign-in with multiple aliases (username, email, phone), multi-factor authentication, Lambda triggers, and identity providers.
The library is stable for CloudFormation resources and user pool constructs, but Identity Pool L2 constructs are not implemented here. Critically, AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer maintained; AWS recommends migrating to CDK v2 for new projects and ongoing support.
Use it for
- Define a user pool with self-sign-up and email verification in a CDK stack without writing CloudFormation directly.
- Configure sign-in options (username, email, phone) and multi-factor authentication for a web or mobile app.
- Set up Lambda triggers for custom authentication flows or user lifecycle events in Cognito.
- Grant IAM roles permissions to perform Cognito operations like admin user creation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining an existing CDK v1 project.
AWS CDK v1 is end-of-support since 2023-06-01 and receives no updates. New projects should use aws-cdk.aws-cognito from AWS CDK v2 instead, which is actively maintained and has a migration guide available.
Install
aws-cdk-aws-cognito on PyPI
Before you install
Low install friction with a wheel distribution. However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated; users should migrate to AWS CDK v2 instead.
AWS CDK v1 is end-of-support as of 2023-06-01; new projects should use AWS CDK v2 instead.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install aws-cdk.aws-cognito
from aws_cdk import aws_cognito as cognito
user_pool = cognito.UserPool(self, "myuserpool",
user_pool_name="myawesomeapp-userpool"
)
Verify before relying
- Whether Identity Pool L2 constructs are available in this v1 package or only in the v2 alpha module.
- Current adoption and migration timeline for projects still on CDK v1.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagesaws-cdk.aws-certificatemanageraws-cdk.aws-iamaws-cdk.aws-kmsaws-cdk.aws-lambdaaws-cdk.coreaws-cdk.custom-resourcesconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,356 / month, #10,966 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed |
Evidence: aws_cdk.aws_cognito-1.204.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “cognito user pool cdk”
- aws-cdk.aws-cognitoProvides AWS CDK constructs for defining Amazon Cognito user pools…
- Flask-AWSCognitoIntegrates AWS Cognito user authentication into Flask applications,…
- aws-cdk.aws-route53-targetsProvides Route53 alias record targets for AWS CDK constructs,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also aws-cdk.aws-location-alpha · aws-cdk.aws-signer · pycognito · warrant · aws-cdk.aws-apigateway · aws-cdk.aws-imagebuilder · aws-cdk.aws-iam · aws-cdk.aws-acmpca · aws-cdk.aws-codeguruprofiler · aws-cdk.aws-sqs