Sets the retention of the specified log group
Sets the retention of the specified log group. A retention policy allows you to configure the number of days for which to retain log events in the specified log group.
cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)
logGroupName |
[required] The name of the log group. |
retentionInDays |
[required] |
An empty list.
svc$put_retention_policy( logGroupName = "string", retentionInDays = 123 )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.