Class: Aws::Lambda::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#resourceString

The function’s Amazon Resource Name (ARN).

Returns:

  • (String)


2519
2520
2521
2522
2523
# File 'lib/aws-sdk-lambda/types.rb', line 2519

class TagResourceRequest < Struct.new(
  :resource,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

A list of tags to apply to the function.

Returns:

  • (Hash<String,String>)


2519
2520
2521
2522
2523
# File 'lib/aws-sdk-lambda/types.rb', line 2519

class TagResourceRequest < Struct.new(
  :resource,
  :tags)
  include Aws::Structure
end