The CDK Construct Library for the AWS Serverless Application Model (SAM) resources. Version 1.204.0 is the latest release for CDK v1 (maintenance mode). This library is part of the AWS CDK v1 which entered maintenance on June 1, 2022 and will end support on June 1, 2025. Users are strongly encouraged to migrate to CDK v2 where SAM constructs are available via the 'aws-cdk-lib/aws-sam' module.
pip install aws-cdk-aws-sam==1.204.0Verified import paths — ran on the pinned version, not inferred.
Basic CDK v1 SAM application with a Lambda function triggered by an API Gateway event.
Migrate to CDK v2: replace 'aws-cdk-aws-sam' with 'aws-cdk-lib/aws-sam'.
Use 'from aws_cdk.aws_sam import ...' via 'aws-cdk-lib' (v2) or install 'aws-cdk-lib' directly.
Use a virtual environment and install only one CDK version.
Evaluate migration to CDK v2 for ongoing support.