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
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

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

Returns:

  • (String)


36
37
38
39
40
41
# File 'gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/types.rb', line 36

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

#tag_listArray<Types::Tag>

One or more tags.

Returns:



36
37
38
39
40
41
# File 'gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/types.rb', line 36

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