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

Class: Aws::WorkSpaces::Types::CreateTagsRequest

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

Overview

Note:

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

{
  resource_id: "NonEmptyString", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.

Returns:

  • (String)

    The identifier of the WorkSpaces resource.

#tagsArray<Types::Tag>

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

Returns: