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

Class: Aws::ResourceGroupsTaggingAPI::Types::TagResourcesInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourcesInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_arn_list: ["ResourceARN"], # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arn_listArray<String>

A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (Array<String>)

    A list of ARNs.

#tagsHash<String,String>

The tags that you want to add to the specified resources. A tag consists of a key and a value that you define.

Returns:

  • (Hash<String,String>)

    The tags that you want to add to the specified resources.