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 TagResource operation. Associate a set of tags with an Amazon DynamoDB resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking. You can call TagResource up to five times per second, per account.
TagResource
is an asynchronous operation. If you issue a ListTagsOfResource
request immediately after a TagResource
request, DynamoDB might return your
previous tag set, if there was one, or an empty tag set. This is because ListTagsOfResource
uses an eventually consistent query, and the metadata for your tags or table might
not be available at that moment. Wait for a few seconds, and then try the ListTagsOfResource
request again.
The application or removal of tags using TagResource
and UntagResource
APIs is eventually consistent. ListTagsOfResource
API will only reflect the
changes after a few seconds.
For an overview on tagging DynamoDB resources, see Tagging for DynamoDB in the Amazon DynamoDB Developer Guide.
Namespace: Amazon.DynamoDBv2.Model
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z
public class TagResourceRequest : AmazonDynamoDBRequest IAmazonWebServiceRequest
The TagResourceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
TagResourceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN). |
![]() |
Tags | System.Collections.Generic.List<Amazon.DynamoDBv2.Model.Tag> |
Gets and sets the property Tags. The tags to be assigned to the Amazon DynamoDB resource. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer