Skip to content

Commit

Permalink
chore(logs): add new supported value of 3 years (aws#24664)
Browse files Browse the repository at this point in the history
New value (1096) added to the list of valid retention periods: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html#API_PutRetentionPolicy_RequestSyntax

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
otaviomacedo authored and homakk committed Mar 28, 2023
1 parent 56d2b12 commit f4ba974
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/@aws-cdk/aws-logs/lib/log-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,11 @@ export enum RetentionDays {
*/
TWO_YEARS = 731,

/**
* 3 years
*/
THREE_YEARS = 1096,

/**
* 5 years
*/
Expand Down

0 comments on commit f4ba974

Please sign in to comment.