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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/types.rb

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

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>)


815
816
817
818
819
820
# File 'gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/types.rb', line 815

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

#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>)


815
816
817
818
819
820
# File 'gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/types.rb', line 815

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