Class: Aws::ElastiCache::Types::AddTagsToResourceMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElastiCache::Types::AddTagsToResourceMessage
- Defined in:
- gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb
Overview
Represents the input of an AddTagsToResource operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_name ⇒ String
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
orarn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot
. -
#tags ⇒ Array<Types::Tag>
A list of tags to be added to this resource.
Instance Attribute Details
#resource_name ⇒ String
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.
44 45 46 47 48 49 |
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 44 class AddTagsToResourceMessage < Struct.new( :resource_name, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
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.
44 45 46 47 48 49 |
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 44 class AddTagsToResourceMessage < Struct.new( :resource_name, :tags) SENSITIVE = [] include Aws::Structure end |