Skip to content

aws-logs: support DataProtectionPolicy in LogGroup construct #23399

@kchg

Description

@kchg

Describe the feature

Sensitive data protection for CloudWatch Logs was launched at re:Invent 2022 (Blogpost). This feature will enable that property under DataProtectionPolicy as a JSON object in the LogGroup construct.

Use Case

I am an SDE on CloudWatch Logs, I've received several requests to support this as an L2 construct. This will allow customers to integrate data protection for their logs in new and existing workflows.

Proposed Solution

The L1 construct, generated from CloudFormation, was recently released. I will build this property using the CfnLogGroup construct.

Other Information

No response

Acknowledgements

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

CDK version used

2.55.1

Environment details (OS name and version, etc.)

macOS

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-logsRelated to Amazon CloudWatch Logseffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions