View source: R/cloudwatchlogs_operations.R
| cloudwatchlogs_put_log_group_deletion_protection | R Documentation |
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.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_put_log_group_deletion_protection/ for full documentation.
cloudwatchlogs_put_log_group_deletion_protection(
logGroupIdentifier,
deletionProtectionEnabled
)
logGroupIdentifier |
[required] The name or ARN of the log group. Type: String Length Constraints: Minimum length of 1. Maximum length of 512. Pattern: Required: Yes |
deletionProtectionEnabled |
[required] Whether to enable deletion protection. Type: Boolean Required: Yes |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.