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.
Container for the parameters to the PutLogGroupDeletionProtection operation. Enables or disables deletion protection for the specified log group. When enabled on a log group, deletion protection blocks all deletion operations until it is explicitly disabled.
For information about the parameters that are common to all actions, see Common Parameters.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class PutLogGroupDeletionProtectionRequest : AmazonCloudWatchLogsRequest IAmazonWebServiceRequest
The PutLogGroupDeletionProtectionRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
PutLogGroupDeletionProtectionRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
DeletionProtectionEnabled | System.Boolean |
Gets and sets the property DeletionProtectionEnabled. Whether to enable deletion protection. Type: Boolean Required: Yes |
|
LogGroupIdentifier | System.String |
Gets and sets the property LogGroupIdentifier. The name or ARN of the log group. Type: String Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern: Required: Yes |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5