class Aws::CloudWatchLogs::Types::PutRetentionPolicyRequest

@note When making an API call, you may pass PutRetentionPolicyRequest

data as a hash:

    {
      log_group_name: "LogGroupName", # required
      retention_in_days: 1, # required
    }

@!attribute [rw] log_group_name

The name of the log group.
@return [String]

@!attribute [rw] retention_in_days

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.

To set a log group to never have log events expire, use
[DeleteRetentionPolicy][1].

[1]: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html
@return [Integer]

@see docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicyRequest AWS API Documentation

Constants

SENSITIVE