cloudwatchlogs_put_retention_policy: Sets the retention of the specified log group

View source: R/cloudwatchlogs_operations.R

cloudwatchlogs_put_retention_policyR Documentation

Sets the retention of the specified log group

Description

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.

Usage

cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)

Arguments

logGroupName

[required] The name of the log group.

retentionInDays

[required]


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.