-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(logs) DataProtectionPolicy not displaying properly in the console #26728
Comments
Please see the discussion here to see what the current behavior is like. The properties should probably be uppercase in the template. it's not clear to me whether this causes any bugs in actual behavior, or just the console. |
import * as cdk from "aws-cdk-lib"; export class DataProtectionStack extends cdk.Stack {
} |
Just confirming my understanding:
I have tried to sort this by explicitly specifying the keys in an object in the generation of the I'm not sure if I need to go one level deeper to do the same for PR incoming. |
Discussed in #26669
Originally posted by ericxinzhang August 8, 2023
I'd like to apply a data protection policy to a log group and exactly followed the document but it's not working.
I believe the reason is somehow in the generated CFN template, all the field names (e.g.
statement
) of theDataProtectionPolicy
property for the log group are in lower case while it should be in uppercase as per the doc.I tried
cdk deploy
and the template can be deployed successfully, but the policy is not taking effect.Could someone please enlighten me what I did wrong here?
Please refer to the following console log for details.
The text was updated successfully, but these errors were encountered: