aws_resource_diff
Simulate a CloudFormation resource update by fetching current state and applying a JSON patch in memory. Returns before/after and changed paths to verify changes before applying to AWS.
Instructions
Dry-run a CCAPI update: fetch the current resource state, simulate applying a JSON Patch in memory, and return before/after plus a flat list of changed paths. No mutation is sent to AWS. Use this before aws_resource_update to verify the patch does what you expect. Supports the add/remove/replace subset of RFC 6902 (covers the vast majority of CCAPI updates); 'move'/'copy'/'test' are rejected at schema validation -- use aws_resource_update directly if you need those (CCAPI accepts them, this preview tool just doesn't simulate them locally).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | CloudFormation type name, e.g. 'AWS::Lambda::Function'. | |
| identifier | Yes | Primary identifier for the resource. | |
| patchDocument | Yes | RFC 6902 JSON Patch (add/remove/replace subset). For move/copy/test, use aws_resource_update directly. | |
| profile | No | Override session profile for this call. | |
| region | No | Override session region for this call. | |
| timeoutMs | No | Timeout in milliseconds. Default 60000. |