Open
Description
Describe the feature
DateOfBirth Data Identifier is missing in the AWS CDK.
The same identifier can be seen in CloudWatch console but not able to retrieve the DateOfBirth value.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_logs.DataIdentifier.html
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/protect-sensitive-log-data-types-pii.html
Use Case
const dataProtectionPolicy = new logs.DataProtectionPolicy({
name: 'dataprotectionpolicy',
description: 'policy description',
identifiers: [
logs.DataIdentifier.DRIVERSLICENSE_US,
new logs.DataIdentifier('DateOfBirth'),
],
});
Currently, we need to use DataIdentifier('') and hardcode the value.
Proposed Solution
No response
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.180.0
Environment details (OS name and version, etc.)
Mac OS