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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a tag.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)


24451
24452
24453
24454
24455
24456
24457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24451

class TagDescription < Struct.new(
  :key,
  :resource_id,
  :resource_type,
  :value)
  include Aws::Structure
end

#resource_idString

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

Returns:

  • (String)


24451
24452
24453
24454
24455
24456
24457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24451

class TagDescription < Struct.new(
  :key,
  :resource_id,
  :resource_type,
  :value)
  include Aws::Structure
end

#resource_typeString

The resource type.

Returns:

  • (String)


24451
24452
24453
24454
24455
24456
24457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24451

class TagDescription < Struct.new(
  :key,
  :resource_id,
  :resource_type,
  :value)
  include Aws::Structure
end

#valueString

The tag value.

Returns:

  • (String)


24451
24452
24453
24454
24455
24456
24457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24451

class TagDescription < Struct.new(
  :key,
  :resource_id,
  :resource_type,
  :value)
  include Aws::Structure
end