You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/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",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

The name of the log group.

Returns:

  • (String)


1651
1652
1653
1654
1655
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1651

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

#tagsHash<String,String>

The key-value pairs to use for the tags.

Returns:

  • (Hash<String,String>)


1651
1652
1653
1654
1655
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1651

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