Class: Aws::Lambda::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::TagResourceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource: "FunctionArn", # required
tags: { # required
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#resource ⇒ String
The function’s Amazon Resource Name (ARN).
-
#tags ⇒ Hash<String,String>
A list of tags to apply to the function.
Instance Attribute Details
#resource ⇒ String
The function’s Amazon Resource Name (ARN).
2519 2520 2521 2522 2523 |
# File 'lib/aws-sdk-lambda/types.rb', line 2519 class TagResourceRequest < Struct.new( :resource, :tags) include Aws::Structure end |
#tags ⇒ Hash<String,String>
A list of tags to apply to the function.
2519 2520 2521 2522 2523 |
# File 'lib/aws-sdk-lambda/types.rb', line 2519 class TagResourceRequest < Struct.new( :resource, :tags) include Aws::Structure end |