aws logs put-log-group-deletion-protection
Enables or disables deletion protection for the specified log group. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--deletion-protection-enabledWhether to enable deletion protection.--log-group-identifierThe name or ARN of the log group.