Class: Aws::DynamoDB::Types::TagResourceInput

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

Overview

Note:

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

{
  resource_arn: "ResourceArnString", # required
  tags: [ # required
    {
      key: "TagKeyString", # required
      value: "TagValueString", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

Returns:

  • (String)


6818
6819
6820
6821
6822
# File 'lib/aws-sdk-dynamodb/types.rb', line 6818

class TagResourceInput < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be assigned to the Amazon DynamoDB resource.

Returns:



6818
6819
6820
6821
6822
# File 'lib/aws-sdk-dynamodb/types.rb', line 6818

class TagResourceInput < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end