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 AddTagsToResource operation. The AddTagsToResource action adds up to 10 cost allocation tags to the named resource. A cost allocation tag is a key-value pair where the key and value are case-sensitive. Cost allocation tags can be used to categorize and track your AWS costs.

When you apply tags to your ElastiCache resources, AWS generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags in Amazon ElastiCache.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElastiCache.AmazonElastiCacheRequest
      Amazon.ElastiCache.Model.AddTagsToResourceRequest

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

Syntax

C#
public class AddTagsToResourceRequest : AmazonElastiCacheRequest
         IRequestEvents

The AddTagsToResourceRequest type exposes the following members

Constructors

NameDescription
Public Method AddTagsToResourceRequest()

Properties

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

The name of the resource to which the tags are to be added, for example arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster.

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

A list of cost allocation tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value.

Version Information

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

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