Skip to content

Commit

Permalink
fix: retention period default
Browse files Browse the repository at this point in the history
  • Loading branch information
nikovirtala committed Aug 3, 2022
1 parent c2cc1a7 commit d2ad889
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/@aws-cdk/aws-appsync/lib/graphqlapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,12 @@ export interface LogConfig {
readonly role?: IRole;

/**
* log retention period
* The number of days log events are kept in CloudWatch Logs.
* By default AppSync keeps the logs infinitely. When updating this property,
* unsetting it doesn't remove the log retention policy.
* To remove the retention policy, set the value to `INFINITE`
*
* @default - Use AppSync default
* @default RetentionDays.INFINITE
*/
readonly retention?: RetentionDays
}
Expand Down

0 comments on commit d2ad889

Please sign in to comment.