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

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

Overview

Note:

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

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

Constant Summary collapse

SENSITIVE =
[]

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)


987
988
989
990
991
992
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 987

class TagResourceRequest < Struct.new(
  :resource_id,
  :tag_list)
  SENSITIVE = []
  include Aws::Structure
end

#tag_listArray<Types::Tag>

A list of one or more tags.

Returns:



987
988
989
990
991
992
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 987

class TagResourceRequest < Struct.new(
  :resource_id,
  :tag_list)
  SENSITIVE = []
  include Aws::Structure
end