class Aws::ElastiCache::Types::AddTagsToResourceMessage
Represents the input of an AddTagsToResource operation.
@note When making an API call, you may pass AddTagsToResourceMessage
data as a hash: { resource_name: "String", # required tags: [ # required { key: "String", value: "String", }, ], }
@!attribute [rw] resource_name
The Amazon Resource Name (ARN) of the resource to which the tags are to be added, for example `arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster` or `arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot`. ElastiCache resources are *cluster* and *snapshot*. For more information about ARNs, see [Amazon Resource Names (ARNs) and Amazon Service Namespaces][1]. [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html @return [String]
@!attribute [rw] tags
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResourceMessage AWS API Documentation
Constants
- SENSITIVE