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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-dax/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)


1369
1370
1371
1372
1373
# File 'gems/aws-sdk-dax/lib/aws-sdk-dax/types.rb', line 1369

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

#tagsArray<Types::Tag>

The tags to be assigned to the DAX resource.

Returns:



1369
1370
1371
1372
1373
# File 'gems/aws-sdk-dax/lib/aws-sdk-dax/types.rb', line 1369

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