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

Returns:

  • (Boolean)


8397
8398
8399
8400
8401
8402
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 8397

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

Returns:

  • (String)


8397
8398
8399
8400
8401
8402
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 8397

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