A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/CloudWatchLogs/Types/PutRetentionPolicyRequest.html below:

PutRetentionPolicyRequest — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::PutRetentionPolicyRequest
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

When passing PutRetentionPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  log_group_name: "LogGroupName",   retention_in_days: 1, }
Instance Attribute Summary collapse Instance Attribute Details #log_group_name ⇒ String

The name of the log group.

#retention_in_days ⇒ Integer

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, 1827, and 3653.

If you omit retentionInDays in a PutRetentionPolicy operation, the events in the log group are always retained and never expire.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4