Install any skill in seconds. Free to start, no credit card required.
Get Started Free →AWS SAM and CDK guidance for scaffolding, templating, deploying, and CI/CD of serverless applications on AWS.
Use this skill ↓78% 83%+4 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 18 of 23 without it.
3 of 3 safety checks passed
Not used yet
Deploy serverless applications to AWS using SAM or CDK. This skill covers project scaffolding, IaC templates, CDK constructs and patterns, deployment workflows, CI/CD pipelines, and SAM/CDK coexistence.
For Lambda runtime behavior, event sources, orchestration, observability, and optimization, see the aws-lambda skill.
Load the appropriate reference file based on what the user is working on:
sam_init with an appropriate template for your use caseGlobals sectionsamconfig.toml environment-specific sections for multi-environment deploymentssam build --use-container when native dependencies are involved!Ref, !GetAtt, and !Subgrant* methods over L1 and raw IAM statementscdk.context.json to version control — it caches VPC/AZ lookups for deterministic synthesisaws-cdk-lib/assertions; assert logical IDs of stateful resources to detect accidental replacementscdk diff in CI before every deployment to review changesthis.account and this.regioncdk deploy directly in production without a pipelinecdk bootstrap — deployments will fail without the CDK toolkit stackSkills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.