aws-cdk.aws-apigateway
The CDK Construct Library for AWS::ApiGateway
Decision gist · record as of 2026-08-14
No—this is AWS CDK v1, which reached end-of-support on 2023-06-01. While the package itself has low install friction and no known vulnerabilities, AWS explicitly recommends migration to AWS CDK v2. Install only if you are maintaining an existing v1 codebase; for new projects, use aws-cdk.aws-apigateway v2 instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS CDK v1 environment; package is end-of-support as of 2023-06-01 and migration to AWS CDK v2 is recommended.
- Low install friction with a wheel distribution.
- Package is actively maintained in the repository (last commit 2026-08-14), though it is classified as Development Status :: 7 - Inactive and reached end-of-support on 2023-06-01; users should migrate to AWS CDK v2.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution 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) · 159,503 downloads/mo, #10,694 on PyPI
Alternatives
Verify before relying
from aws_cdk import aws_apigateway as apigateway
from aws_cdk import aws_lambda as lambda_
api = apigateway.RestApi(self, "books-api")
books = api.root.add_resource("books")
books.add_method("GET")
# Or with Lambda backend:
backend = lambda_.Function(...)
apigateway.LambdaRestApi(self, "myapi", handler=backend)- Whether existing v1 deployments remain functional despite end-of-support status and what breaking changes may occur in AWS infrastructure.
- Performance characteristics and limits when handling high-volume API traffic through the constructs provided.
What it is and what it does
This package is the AWS CDK v1 construct library for Amazon API Gateway, a managed service for publishing and securing APIs at scale. It provides high-level Python classes to define REST APIs as infrastructure code, with built-in support for common backend integrations (Lambda functions, Step Functions state machines), authorization patterns (IAM, Lambda-based, Cognito), and operational features like access logging, CORS, and custom domains.
The library abstracts CloudFormation resource creation, allowing developers to define API hierarchies (resources and methods) programmatically and deploy them alongside other AWS infrastructure. However, the package reached end-of-support on 2023-06-01; AWS recommends migrating to AWS CDK v2 for continued updates and support.
Use it for
- Define a REST API backed by Lambda functions using LambdaRestApi construct for serverless application endpoints.
- Build synchronous Step Functions workflows exposed as HTTP APIs using StepFunctionsRestApi for orchestrated backend logic.
- Configure API authorization with Cognito User Pools, IAM roles, or custom Lambda authorizers for access control.
- Set up custom domain names, SSL certificates, and access logging for production API deployments.
- Break large APIs across multiple CloudFormation stacks to work around resource limits while maintaining a unified API structure.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—this is AWS CDK v1, which reached end-of-support on 2023-06-01.
While the package itself has low install friction and no known vulnerabilities, AWS explicitly recommends migration to AWS CDK v2. Install only if you are maintaining an existing v1 codebase; for new projects, use aws-cdk.aws-apigateway v2 instead.
Install
aws-cdk-aws-apigateway on PyPI
Before you install
Low install friction with a wheel distribution. Package is actively maintained in the repository (last commit 2026-08-14), though it is classified as Development Status :: 7 - Inactive and reached end-of-support on 2023-06-01; users should migrate to AWS CDK v2.
Requires AWS CDK v1 environment; package is end-of-support as of 2023-06-01 and migration to AWS CDK v2 is recommended.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
from aws_cdk import aws_apigateway as apigateway
from aws_cdk import aws_lambda as lambda_
api = apigateway.RestApi(self, "books-api")
books = api.root.add_resource("books")
books.add_method("GET")
# Or with Lambda backend:
backend = lambda_.Function(...)
apigateway.LambdaRestApi(self, "myapi", handler=backend)
Verify before relying
- Whether existing v1 deployments remain functional despite end-of-support status and what breaking changes may occur in AWS infrastructure.
- Performance characteristics and limits when handling high-volume API traffic through the constructs provided.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release ~=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 17 packagesaws-cdk.aws-certificatemanageraws-cdk.aws-cloudwatchaws-cdk.aws-cognitoaws-cdk.aws-ec2aws-cdk.aws-elasticloadbalancingv2aws-cdk.aws-iamaws-cdk.aws-lambdaaws-cdk.aws-logsaws-cdk.aws-s3-assetsaws-cdk.aws-s3aws-cdk.aws-stepfunctionsaws-cdk.coreaws-cdk.cx-apiconstructsjsiipublicationtypeguard |
| Maintenance | Actively maintained 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 159,503 / month, #10,694 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_apigateway-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 › “api gateway cdk construct”
- aws-cdk.aws-apigatewayProvides AWS CDK constructs for defining and deploying Amazon API…
- aws-cdk.aws-route53-targetsProvides Route53 alias record targets for AWS CDK constructs,…
- aws-cdk.aws-location-alphaProvides AWS CDK constructs for building Location Service…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also aws-cdk.aws-imagebuilder · aws-cdk.aws-stepfunctions · aws-cdk.core · aws-cdk.aws-cognito · aws-cdk.aws-sqs · aws-cdk-lib · aws-cdk.aws-location-alpha · cdk-aurora-globaldatabase · aws-cdk.aws-amplify-alpha · python-amazon-paapi