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:
resource-groups:Tag
Namespace: Amazon.ResourceGroups.Model
Assembly: AWSSDK.ResourceGroups.dll
Version: 3.x.y.z
public class TagRequest : AmazonResourceGroupsRequest IAmazonWebServiceRequest
The TagRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
TagRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
Arn | System.String |
Gets and sets the property Arn. The Amazon resource name (ARN) of the resource group to which to add tags. |
|
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. |
.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