cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

[Resource Type] - [Enhancement] - CloudWatch Log Group protection from deletion

Open volphy opened this issue 3 months ago • 0 comments

Name of the resource

AWS::Logs::LogGroup

Resource name

No response

Description

Protection of log groups from deletion has been introduced recently: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protecting-log-groups-from-deletion.html

Unfortunately, AWS::Logs::LogGroup does not provide such an attribute: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-logs-loggroup.html

I know that enabling such protection is possible using AWS CLI but it is less convenient that expressing it in CloudFormation.

Similar protections, such as EC2 termination protection, are already supported by AWS::EC2::Instance: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-ec2-instance.html

Other Details

No response

volphy avatar Nov 28 '25 09:11 volphy