Class: Aws::CloudHSMV2::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudHSMV2::Types::TagResourceRequest
- 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
-
#resource_id ⇒ String
The cluster identifier (ID) for the cluster that you are tagging.
-
#tag_list ⇒ Array<Types::Tag>
A list of one or more tags.
Instance Attribute Details
#resource_id ⇒ String
The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.
1131 1132 1133 1134 1135 1136 |
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 1131 class TagResourceRequest < Struct.new( :resource_id, :tag_list) SENSITIVE = [] include Aws::Structure end |
#tag_list ⇒ Array<Types::Tag>
A list of one or more tags.
1131 1132 1133 1134 1135 1136 |
# File 'gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/types.rb', line 1131 class TagResourceRequest < Struct.new( :resource_id, :tag_list) SENSITIVE = [] include Aws::Structure end |