View source: R/cloudwatchlogs_operations.R
| cloudwatchlogs_put_retention_policy | R Documentation |
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_retention_policy/ for full documentation.
cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)
logGroupName |
[required] The name of the log group. |
retentionInDays |
[required] The number of days to retain the log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, and 3653. To set a log group so that its log events do not expire, use |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.