Tag Resource
lambda_tag_resource | R Documentation |
Adds tags to a function, event source mapping, or code signing configuration¶
Description¶
Adds tags to a function, event source mapping, or code signing configuration.
Usage¶
lambda_tag_resource(Resource, Tags)
Arguments¶
Resource |
[required] The resource's Amazon Resource Name (ARN). |
Tags |
[required] A list of tags to apply to the resource. |
Value¶
An empty list.
Request syntax¶
svc$tag_resource(
Resource = "string",
Tags = list(
"string"
)
)
Examples¶
## Not run:
# The following example adds a tag with the key name DEPARTMENT and a
# value of 'Department A' to the specified Lambda function.
svc$tag_resource(
Resource = "arn:aws:lambda:us-west-2:123456789012:function:my-function",
Tags = list(
DEPARTMENT = "Department A"
)
)
## End(Not run)