paws.management (version 0.1.0)

cloudtrail_add_tags: Adds one or more tags to a trail, up to a limit of 50

Description

Adds one or more tags to a trail, up to a limit of 50. Tags must be unique per trail. Overwrites an existing tag's value when a new value is specified for an existing tag key. If you specify a key without a value, the tag will be created with the specified key and a value of null. You can tag a trail that applies to all regions only from the region in which the trail was created (that is, from its home region).

Usage

cloudtrail_add_tags(ResourceId, TagsList)

Arguments

ResourceId

[required] Specifies the ARN of the trail to which one or more tags will be added. The format of a trail ARN is:

arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail

TagsList

Contains a list of CloudTrail tags, up to a limit of 50

Request syntax

svc$add_tags(
  ResourceId = "string",
  TagsList = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)