Skip to content

aws-logs: add DeletionProtectionEnabled property to logGroup #36554

@robert-hanuschke

Description

@robert-hanuschke

Describe the feature

The property is available in CloudFormation but not yet in cdk's aws-logs.LogGroup or aws-logs.CfnLogGroup.

Use Case

enabling deletion protection for AWS CloudWatch LogGroups to prevent inadvertently deleting required log data

Proposed Solution

I understand the L1 construct properties can be synced from CloudFormation by the cdk team automatically.
If helpful, I would then gladly give it a try to create my first PR for this project to add it to the L2 resource.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS CDK Library version (aws-cdk-lib)

2.233.0

AWS CDK CLI version

2.1100.1 (build db19110)

Environment details (OS name and version, etc.)

any

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-logsRelated to Amazon CloudWatch Logseffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions