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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resourceString

The function's Amazon Resource Name (ARN).

Returns:

  • (String)


4677
4678
4679
4680
4681
4682
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4677

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>)


4677
4678
4679
4680
4681
4682
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 4677

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