Class: Aws::CloudWatchLogs::Types::PutLogGroupDeletionProtectionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deletion_protection_enabledBoolean

Whether to enable deletion protection.

Type: Boolean

Required: Yes



7103
7104
7105
7106
7107
7108
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 7103

class PutLogGroupDeletionProtectionRequest < Struct.new(
  :log_group_identifier,
  :deletion_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_identifierString

The name or ARN of the log group.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: ‘[.-_/#A-Za-z0-9]+`

Required: Yes



7103
7104
7105
7106
7107
7108
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 7103

class PutLogGroupDeletionProtectionRequest < Struct.new(
  :log_group_identifier,
  :deletion_protection_enabled)
  SENSITIVE = []
  include Aws::Structure
end