You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/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 ARN (Amazon Resource Name) of the Lambda function.

Returns:

  • (String)


1759
1760
1761
1762
1763
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1759

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

#tagsHash<String,String>

The list of tags (key-value pairs) you are assigning to the Lambda function.

Returns:

  • (Hash<String,String>)


1759
1760
1761
1762
1763
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1759

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