deletion_protections
Creates, updates, deletes, gets or lists a deletion_protections resource.
Overview
| Name | deletion_protections |
| Type | Resource |
| Id | aws.ssm_incidents.deletion_protections |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update_deletion_protection | update | region, arn, deletionProtected | Update deletion protection to either allow or deny deletion of the final Region in a replication set. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
UPDATE examples
- update_deletion_protection
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
UPDATE aws.ssm_incidents.deletion_protections
SET
arn = '{{ arn }}',
clientToken = '{{ clientToken }}',
deletionProtected = {{ deletionProtected }}
WHERE
region = '{{ region }}' --required
AND arn = '{{ arn }}' --required
AND deletionProtected = {{ deletionProtected }} --required;