Officialv1.0.03 scenarios
Aws Cdk
AWS CDK guidance for logical IDs, removal policies, and synth-time environment drift.
deploywhisper skill install aws-cdk
How to use this skill
1. Install it locally
Use the install command above from any DeployWhisper app checkout that has the installer enabled.
2. Run analysis on matching artifacts
This skill activates when files or content patterns below are detected during analysis.
3. Verify behavior
Published registry data currently includes 3 deterministic scenarios for this skill.
Metadata
Author
DeployWhisper
Version
1.0.0
License
MIT
Scenarios
3
Tags
Triggers
- cdk.json
- cdk.context.json
Content patterns
- aws-cdk-lib
- PolicyStatement
Guidance excerpt
Critical risk patterns
- Logical ID changes force CloudFormation replacement even when code edits look cosmetic = HIGH
- `RemovalPolicy.DESTROY` on stateful constructs risks permanent data loss = CRITICAL
- Context lookups can differ between synth environments and change plans unexpectedly = MEDIUM
- Broad IAM `PolicyStatement` grants expose entire accounts or regions = HIGH
Review cues
- Review synthesized logical IDs, removal policies, and IAM grants together for CDK changes.
- Prefer deterministic roll-forward or rollback steps over hand-wavy remediation notes.