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",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

The function's Amazon Resource Name (ARN).

Returns:

  • (String)

4935
4936
4937
4938
4939
4940
# File 'lib/aws-sdk-lambda/types.rb', line 4935

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

#tagsHash<String,String>

A list of tags to apply to the function.

Returns:

  • (Hash<String,String>)

4935
4936
4937
4938
4939
4940
# File 'lib/aws-sdk-lambda/types.rb', line 4935

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