

# kms-cmk-not-scheduled-for-deletion
<a name="kms-cmk-not-scheduled-for-deletion"></a>

Checks if Amazon Key Management Service (Amazon KMS) keys are not scheduled for deletion in Amazon KMS. The rule is NON\$1COMPLIANT if KMS keys are scheduled for deletion. 



**Identifier:** KMS\$1CMK\$1NOT\$1SCHEDULED\$1FOR\$1DELETION

**Resource Types:** AWS::KMS::Key

**Trigger type:** Periodic

**Amazon Web Services Region:** All supported Amazon regions except Asia Pacific (New Zealand), Europe (Milan), Asia Pacific (Taipei) Region

**Parameters:**

kmsKeyIds (Optional)Type: String  
(Optional) Comma-separated list of specific customer managed key IDs not to be scheduled for deletion. If you do not specify any keys, the rule checks all the keys.

## Amazon CloudFormation template
<a name="w2aac20c16c17b7e1047c19"></a>

To create Amazon Config managed rules with Amazon CloudFormation templates, see [Creating Amazon Config Managed Rules With Amazon CloudFormation Templates](aws-config-managed-rules-cloudformation-templates.md).