paws.compute (version 0.1.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 Lightsail Dev Guide.

Usage

lightsail_tag_resource(resourceName, tags)

Arguments

resourceName

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

tags

[required] The tag key and optional value.

Request syntax

svc$tag_resource(
  resourceName = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Details

The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resourceName. For more information, see the Lightsail Dev Guide.