Skip to main content

deletion_protections

Creates, updates, deletes, gets or lists a deletion_protections resource.

Overview

Namedeletion_protections
TypeResource
Idaws.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:

NameAccessible byRequired ParamsOptional ParamsDescription
update_deletion_protectionupdateregion, arn, deletionProtectedUpdate 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

UPDATE examples

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;