Class: Aws::DAX::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_name: "String", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_nameString

The name of the DAX resource to which tags should be added.

Returns:

  • (String)


1427
1428
1429
1430
1431
# File 'lib/aws-sdk-dax/types.rb', line 1427

class TagResourceRequest < Struct.new(
  :resource_name,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to be assigned to the DAX resource.

Returns:



1427
1428
1429
1430
1431
# File 'lib/aws-sdk-dax/types.rb', line 1427

class TagResourceRequest < Struct.new(
  :resource_name,
  :tags)
  include Aws::Structure
end