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

Class: Aws::EC2::Types::TagDescription

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

Overview

Describes a tag.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)

    The tag key.

#resource_idString

The ID of the resource. For example, ami-1a2b3c4d.

Returns:

  • (String)

    The ID of the resource.

#resource_typeString

The resource type.

Possible values:

  • customer-gateway
  • dhcp-options
  • image
  • instance
  • internet-gateway
  • network-acl
  • network-interface
  • reserved-instances
  • route-table
  • snapshot
  • spot-instances-request
  • subnet
  • security-group
  • volume
  • vpc
  • vpn-connection
  • vpn-gateway

Returns:

  • (String)

    The resource type.

#valueString

The tag value.

Returns:

  • (String)

    The tag value.