AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the AddTags operation. Adds one or more tags to a trail, event data store, or channel, 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; 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 or event data store that applies to all Amazon Web Services Regions only from the Region in which the trail or event data store was created (also known as its home Region).
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class AddTagsRequest : AmazonCloudTrailRequest IAmazonWebServiceRequest
The AddTagsRequest type exposes the following members
Name | Description | |
---|---|---|
AddTagsRequest() |
Name | Type | Description | |
---|---|---|---|
ResourceId | System.String |
Gets and sets the property ResourceId. Specifies the ARN of the trail, event data store, or channel to which one or more tags will be added.
The format of a trail ARN is:
The format of an event data store ARN is:
The format of a channel ARN is: |
|
TagsList | System.Collections.Generic.List<Amazon.CloudTrail.Model.Tag> |
Gets and sets the property TagsList. Contains a list of tags, up to a limit of 50 |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5