AWS CDK 2.267
Last reviewed Sep 19, 2026
Prompt Details
Prompt Composition
1prompt
- AWS CDK 2.267102 lines · 5K tokens
CWE Coverage
- 15
- 20
- 59
- 201
- 209
- 250
- 252
- 295
- 319
- 367
- 522
- 532
- 538
- 732
- 770
- 772
- 778
- 807
- 829
- 841
- 862
- 863
- 918
- 1395
Prompt Preview
Apply these rules to AWS CDK applications using aws-cdk-lib 2.267.0 and its language bindings. API names use TypeScript spelling; apply the equivalent APIs in other supported languages. Treat the build host, cloud assembly, bootstrap roles, CloudFormation execution, and deployed workloads as separate trust boundaries.
Versions and applications
- Pin
aws-cdk-lib,constructs, optional alpha modules, the CDK CLI, and transitive dependencies with reviewed lock files. For 2.267.0, satisfy theconstructspeer range^10.5.0; remove legacy CDK v1 service packages. Review alpha modules separately because their APIs can change incompatibly. - Select a CLI release compatible with the library's cloud assembly schema; CLI and library version numbers are independent. Use the CLI current at the library's release or a reviewed newer compatible release, and test synthesized differences when changing either component.
- Add and upgrade
aws-cdk-lib, alpha modules, and the CDK CLI through the language's package manager so the lock file records current releases, keep Dependabot or Renovate proposing updates to that lock file and to bundling base images referenced by digest, and take any exact version from the package registry, such as withnpm view aws-cdk-lib version, rather than memory, leaving a placeholder that fails the build when you can't check. The 2.267 in this prompt's title names the release line these rules were checked against, not a version to install. - Run the CDK toolchain on maintained Node.js 22.x or 24.x, including for Python, Java, .NET, and Go