Class: Aws::AccessAnalyzer::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource_arn: "String", # required
tags: { # required
"String" => "String",
},
}
Adds a tag to the specified resource.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The ARN of the resource to add the tag to.
-
#tags ⇒ Hash<String,String>
The tags to add to the resource.
Instance Attribute Details
#resource_arn ⇒ String
The ARN of the resource to add the tag to.
3175 3176 3177 3178 3179 3180 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3175 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags to add to the resource.
3175 3176 3177 3178 3179 3180 |
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3175 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |