cw-loggroup-retention-period-check - AWS Config



Checks whether Amazon CloudWatch LogGroup retention period is set to specific number of days. The rule is NON_COMPLIANT if the retention period is not set or is less than the configured retention period.


Trigger type: 定期的

AWS Region: All supported AWS regions


LogGroupNames (Optional)
タイプ: CSV

A comma-separated list of Log Group names to check the retention period.

MinRetentionTime (Optional)
タイプ: int

Specify the retention time. Valid values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. The default retention period is 365 days.

AWS CloudFormation テンプレート

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.