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

Class: Aws::CloudHSM::Types::AddTagsToResourceRequest

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

Overview

Note:

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

{
  resource_arn: "String", # required
  tag_list: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.

Returns:

  • (String)


34
35
36
37
38
# File 'gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/types.rb', line 34

class AddTagsToResourceRequest < Struct.new(
  :resource_arn,
  :tag_list)
  include Aws::Structure
end

#tag_listArray<Types::Tag>

One or more tags.

Returns:



34
35
36
37
38
# File 'gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/types.rb', line 34

class AddTagsToResourceRequest < Struct.new(
  :resource_arn,
  :tag_list)
  include Aws::Structure
end