You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::ChangeTagsForResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ChangeTagsForResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_type: "healthcheck", # required, accepts healthcheck, hostedzone
  resource_id: "TagResourceId", # required
  add_tags: [
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  remove_tag_keys: ["TagKey"],
}

A complex type that contains information about the tags that you want to add, edit, or delete.

Instance Attribute Summary collapse

Instance Attribute Details

#add_tagsArray<Types::Tag>

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

You can add a maximum of 10 tags to a health check or a hosted zone.

Returns:

  • (Array<Types::Tag>)

    A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

#remove_tag_keysArray<String>

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

Returns:

  • (Array<String>)

    A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone.

#resource_idString

The ID of the resource for which you want to add, change, or delete tags.

Returns:

  • (String)

    The ID of the resource for which you want to add, change, or delete tags.

#resource_typeString

The type of the resource.

  • The resource type for health checks is healthcheck.

  • The resource type for hosted zones is hostedzone.

    Possible values:

    • healthcheck
    • hostedzone

Returns:

  • (String)

    The type of the resource.