Class: Aws::FSx::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FSx::Types::TagResourceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-fsx/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource_arn: "ResourceARN", # required
tags: [ # required
{
key: "TagKey",
value: "TagValue",
},
],
}
The request object for the ‘TagResource` operation.
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.
-
#tags ⇒ Array<Types::Tag>
A list of tags for the resource.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.
1128 1129 1130 1131 1132 |
# File 'lib/aws-sdk-fsx/types.rb', line 1128 class TagResourceRequest < Struct.new( :resource_arn, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.
1128 1129 1130 1131 1132 |
# File 'lib/aws-sdk-fsx/types.rb', line 1128 class TagResourceRequest < Struct.new( :resource_arn, :tags) include Aws::Structure end |