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

Class: Aws::AppStream::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
    "TagKey" => "TagValue",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the resource.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the resource.

#tagsHash<String,String>

The tags to associate. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.

If you do not specify a value, the value is set to an empty string.

Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:

_ . : / = + \ - @

Returns:

  • (Hash<String,String>)

    The tags to associate.