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 Tag operation. Adds tags to a resource group with the specified Amazon resource name (ARN). Existing tags on a resource group are not changed if they are not specified in the request parameters.

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

To run this command, you must have the following permissions:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ResourceGroups.AmazonResourceGroupsRequest
      Amazon.ResourceGroups.Model.TagRequest

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

Syntax

C#
public class TagRequest : AmazonResourceGroupsRequest
         IAmazonWebServiceRequest

The TagRequest type exposes the following members

Constructors

NameDescription
Public Method TagRequest()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

The Amazon resource name (ARN) of the resource group to which to add tags.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

The tags to add to the specified resource group. A tag is a string-to-string map of key-value pairs.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5