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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resouce to be updated.

Must be the ARN of an Elastic Beanstalk resource.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the resouce to be updated.

#tags_to_addArray<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.

Returns:

  • (Array<Types::Tag>)

    A list of tags to add or update.

#tags_to_removeArray<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.

Returns:

  • (Array<String>)

    A list of tag keys to remove.