Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudwatchlogs_put_retention_policy

Sets the retention of the specified log group


Description

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.

Usage

cloudwatchlogs_put_retention_policy(logGroupName, retentionInDays)

Arguments

logGroupName

[required] The name of the log group.

retentionInDays

[required]

Value

An empty list.

Request syntax

svc$put_retention_policy(
  logGroupName = "string",
  retentionInDays = 123
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.