--- id: aws-cdk-aws-sam version: "1.204.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-sam — The CDK Construct Library for the AWS Serverless Application Model (SAM) resources License: permissive · Maintenance: active · Downloads: 145.1K/mo ## What it is and what it does This package is part of AWS CDK v1 and provides low-level (L1) constructs for the Serverless Application Model (SAM), allowing you to define serverless AWS resources as Python code. It translates those definitions into CloudFormation templates that AWS can deploy. Because AWS CDK v1 reached end-of-support on 2023-06-01, this package is no longer maintained or updated. The description explicitly recommends migrating to AWS CDK v2 instead. If you are starting a new project, you should use v2; this package is suitable only for maintaining existing v1 codebases, not for new development. Use it for: - Maintaining existing AWS CDK v1 projects that define serverless infrastructure in Python - Converting CloudFormation SAM templates to CDK code using L1 constructs as a bridge - Learning CDK fundamentals through v1 documentation before migrating to v2 - Defining serverless resources declaratively in code for existing v1 deployments ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides AWS CDK v1 constructs for defining Serverless Application Model (SAM) resources in Python, enabling Infrastructure-as-Code definitions of serverless AWS applications. No, unless you are actively maintaining an existing AWS CDK v1 codebase. The package is end-of-support as of 2023-06-01 and receives no updates. New projects should use AWS CDK v2 instead. Existing v1 users should plan a migration to v2. ## Install pip install aws-cdk-aws-sam uv add aws-cdk-aws-sam poetry add aws-cdk-aws-sam ## Installing aws-cdk.aws-sam Before you install: Low install friction with a stable dependency chain. However, this package reached end-of-support on 2023-06-01 and is no longer being updated; AWS CDK v1 has been superseded by v2, and users are advised to migrate rather than adopt this version. License in practice: Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions. Quickstart: pip install aws-cdk.aws-sam==1.204.0 import aws_cdk.aws_sam as serverless AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer maintained; new projects should use AWS CDK v2 instead. Verify before relying: - Whether L1 constructs remain functional with current AWS CloudFormation SAM resource definitions - Migration path complexity and tooling support for moving from v1 to v2 ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 145.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags AWS SAM CDK constructs, serverless application model infrastructure, AWS CDK serverless resources, infrastructure as code SAM, CloudFormation serverless constructs, AWS Lambda CDK definitions, end-of-life, infrastructure-as-code, aws [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-sam) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-sam/)