aws_resource_delete
Delete an AWS resource via Cloud Control API by type name and identifier. Returns progress asynchronously or polls until completion; always verify the identifier before calling.
Instructions
Delete an AWS resource via Cloud Control API. 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. Destructive -- double-check identifier before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Override session region for this call. | |
| profile | No | Override session profile for this call. | |
| typeName | Yes | CloudFormation type name. | |
| 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. | |
| timeoutMs | No | Timeout in milliseconds. Default 60000. | |
| identifier | Yes | Primary identifier for the resource. | |
| clientToken | No | Idempotency token (max 128 chars). | |
| pollIntervalMs | No | Poll interval in ms when awaitCompletion is true (range 500-30000). Default 2000. ProgressEvent.RetryAfter overrides when CCAPI returns one. | |
| 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). |