Learn R Programming

paws.compute (version 0.7.0)

lightsail_tag_resource: Adds one or more tags to the specified Amazon Lightsail resource

Description

Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.

See https://www.paws-r-sdk.com/docs/lightsail_tag_resource/ for full documentation.

Usage

lightsail_tag_resource(resourceName, resourceArn = NULL, tags)

Arguments

resourceName

[required] The name of the resource to which you are adding tags.

resourceArn

The Amazon Resource Name (ARN) of the resource to which you want to add a tag.

tags

[required] The tag key and optional value.