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 CreateTags operation. Adds one or more tags to a specified resource.

A resource can have up to 10 tags. If you try to create more than 10 tags for a resource, you will receive an error and the attempt will fail.

If you specify a key that already exists for the resource, the value for that key will be updated with the new value.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Redshift.AmazonRedshiftRequest
      Amazon.Redshift.Model.CreateTagsRequest

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

Syntax

C#
public class CreateTagsRequest : AmazonRedshiftRequest
         IRequestEvents

The CreateTagsRequest type exposes the following members

Constructors

NameDescription
Public Method CreateTagsRequest()

Properties

NameTypeDescription
Public Property ResourceName System.String Gets and sets the property ResourceName.

The Amazon Resource Name (ARN) to which you want to add the tag or tags. For example, arn:aws:redshift:us-east-1:123456789:cluster:t1.

Public Property Tags System.Collections.Generic.List<Amazon.Redshift.Model.Tag> Gets and sets the property Tags.

One or more name/value pairs to add as tags to the specified resource. Each tag name is passed in with the parameter Key and the corresponding value is passed in with the parameter Value. The Key and Value parameters are separated by a comma (,). Separate multiple tags with a space. For example,

--tags "Key"="owner","Value"="admin" "Key"="environment","Value"="test"
            "Key"="version","Value"="1.0"
.

Version Information

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

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