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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla 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)

    The ARN (Amazon Resource Name) of the Lambda function.

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)

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