AWS SDK Version 3 for .NET
API Reference

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, 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).

Inheritance Hierarchy


Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z


public class AddTagsRequest : AmazonCloudTrailRequest

The AddTagsRequest type exposes the following members


Public Method AddTagsRequest()


Public Property ResourceId System.String

Gets and sets the property ResourceId.

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


Public Property TagsList System.Collections.Generic.List<Amazon.CloudTrail.Model.Tag>

Gets and sets the property TagsList.

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

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms