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

Description Usage Arguments Value Request syntax

View source: R/cloudtrail_operations.R

Description

Adds one or more tags to a trail, up to a limit of 50. Overwrites an existing tag's value when a new value is specified for an existing tag key. Tag key names must be unique for a trail; you cannot have two keys with the same name but different values. 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 AWS Regions only from the Region in which the trail was created (also known as its home region).

Usage

1
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

Value

An empty list.

Request syntax

1
2
3
4
5
6
7
8
9
svc$add_tags(
  ResourceId = "string",
  TagsList = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.