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

Class: Aws::CloudHSMV2::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_id: "ResourceId", # required
  tag_list: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.

Returns:

  • (String)

    The cluster identifier (ID) for the cluster that you are tagging.

#tag_listArray<Types::Tag>

A list of one or more tags.

Returns:

  • (Array<Types::Tag>)

    A list of one or more tags.