Class: Aws::CloudWatchLogs::Types::TagLogGroupRequest

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

Overview

Note:

When making an API call, you may pass TagLogGroupRequest data as a hash:

{
  log_group_name: "LogGroupName", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

The name of the log group.

Returns:

  • (String)

2835
2836
2837
2838
2839
2840
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 2835

class TagLogGroupRequest < Struct.new(
  :log_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The key-value pairs to use for the tags.

Returns:

  • (Hash<String,String>)

2835
2836
2837
2838
2839
2840
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 2835

class TagLogGroupRequest < Struct.new(
  :log_group_name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end