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

Class: Aws::Transfer::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:

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

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

An Amazon Resource Name (ARN) for a specific AWS resource, such as a server, user, or role.

Returns:

  • (String)

    An Amazon Resource Name (ARN) for a specific AWS resource, such as a server, user, or role.

#tagsArray<Types::Tag>

Key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to user accounts for any purpose.

Returns:

  • (Array<Types::Tag>)

    Key-value pairs assigned to ARNs that you can use to group and search for resources by type.