aws_resource_update
Update an AWS resource using RFC 6902 JSON Patch operations via Cloud Control API. Returns progress status or final result with polling option.
Instructions
Update an AWS resource via Cloud Control API using RFC 6902 JSON Patch. Async by default: returns a ProgressEvent with OperationStatus=IN_PROGRESS and a top-level requestToken. Pass awaitCompletion: true to have the server poll until terminal. Typical patch: [{op: 'replace', path: '/MemorySize', value: 512}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | CloudFormation type name. | |
| identifier | Yes | Primary identifier for the resource. | |
| patchDocument | Yes | RFC 6902 JSON Patch document (array of operations). At least one entry. | |
| clientToken | No | Idempotency token (max 128 chars). | |
| profile | No | Override session profile for this call. | |
| region | No | Override session region for this call. | |
| timeoutMs | No | Timeout in milliseconds. Default 60000. | |
| awaitCompletion | No | If true, poll get-resource-request-status until the operation reaches SUCCESS / FAILED / CANCEL_COMPLETE and return the final ProgressEvent. Default false (returns immediately with IN_PROGRESS, caller polls via aws_resource_status). | |
| pollIntervalMs | No | Poll interval in ms when awaitCompletion is true (range 500-30000). Default 2000. ProgressEvent.RetryAfter overrides when CCAPI returns one. | |
| maxWaitMs | No | Maximum total wait in ms when awaitCompletion is true (range 1000-1800000). Default 300000. On timeout, returns the last seen status with a hint to keep polling. |