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 function\'s Amazon Resource Name (ARN).

Returns:

  • (String)

    The function\'s Amazon Resource Name (ARN).

#tagsHash<String,String>

A list of tags to apply to the function.

Returns:

  • (Hash<String,String>)

    A list of tags to apply to the function.