You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticBeanstalk::Types::UpdateTagsForResourceMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::UpdateTagsForResourceMessage
- Defined in:
- (unknown)
Overview
When passing UpdateTagsForResourceMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "ResourceArn", # required
tags_to_add: [
{
key: "TagKey",
value: "TagValue",
},
],
tags_to_remove: ["TagKey"],
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resouce to be updated.
-
#tags_to_add ⇒ Array<Types::Tag>
A list of tags to add or update.
-
#tags_to_remove ⇒ Array<String>
A list of tag keys to remove.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resouce to be updated.
Must be the ARN of an Elastic Beanstalk resource.
#tags_to_add ⇒ Array<Types::Tag>
A list of tags to add or update. If a key of an existing tag is added, the tag\'s value is updated.
Specify at least one of these parameters: TagsToAdd
, TagsToRemove
.
#tags_to_remove ⇒ Array<String>
A list of tag keys to remove. If a tag key doesn\'t exist, it is silently ignored.
Specify at least one of these parameters: TagsToAdd
, TagsToRemove
.