AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Instantiates PutRetentionPolicyRequest with the parameterized properties
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public PutRetentionPolicyRequest(
         String logGroupName,
         Nullable<Int32> retentionInDays
)
The name of the log group.
Sets the PutRetentionPolicyRequest RetentionInDays property
.NET: 
Supported in: 8.0 and newer, Core 3.1
.NET Standard: 
Supported in: 2.0
.NET Framework: 
Supported in: 4.7.2 and newer