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

Class: Aws::CloudDirectory::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "Arn", # required
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the resource.

#tagsArray<Types::Tag>

A list of tag key-value pairs.

Returns:

  • (Array<Types::Tag>)

    A list of tag key-value pairs.