AWS SDK Version 2 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.

.NET Framework 3.5
Container for the parameters to the AddTags operation. Adds one or more tags to a trail, up to a limit of 10. 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.dll
Version: (assembly version)


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 arn:aws:cloudtrail:us-east-1:123456789012:trail/MyTrail.

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 10.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8