

# kinesis-stream-backup-retention-check
<a name="kinesis-stream-backup-retention-check"></a>

Checks if an Amazon Kinesis Data Stream has its data record retention period set to a specific number of hours. The rule is NON\_COMPLIANT if the property `RetentionPeriodHours` is set to a value less than the value specified by the parameter. 



**Identifier:** KINESIS\_STREAM\_BACKUP\_RETENTION\_CHECK

**Resource Types:** AWS::Kinesis::Stream

**Trigger type:** Configuration changes

**Amazon Web Services Region:** All supported Amazon regions except Asia Pacific (New Zealand), Asia Pacific (Thailand), Asia Pacific (Malaysia), Mexico (Central), Israel (Tel Aviv), Asia Pacific (Taipei), Canada West (Calgary) Region

**Parameters:**

minimumBackupRetentionPeriod (Optional)Type: String  
Minimum hours data records should be retained. Valid values are 24 to 8760, default value is 168. 

## Amazon CloudFormation template
<a name="w2aac20c16c17b7e1041c19"></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).