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 4.5
Adds or overwrites one or more tags for the specified Amazon EC2 resource or resources. Each resource can have a maximum of 10 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.

For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)


public virtual CreateTagsResponse CreateTags(
         CreateTagsRequest request


Type: Amazon.EC2.Model.CreateTagsRequest

Container for the necessary parameters to execute the CreateTags service method.

Return Value
Type: Amazon.EC2.Model.CreateTagsResponse
The response from the CreateTags service method, as returned by EC2.

Version Information

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