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

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

Overview

Describes a tag.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key.

Returns:

  • (String)


35203
35204
35205
35206
35207
35208
35209
# File 'lib/aws-sdk-ec2/types.rb', line 35203

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

#resource_idString

The ID of the resource.

Returns:

  • (String)


35203
35204
35205
35206
35207
35208
35209
# File 'lib/aws-sdk-ec2/types.rb', line 35203

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

#resource_typeString

The resource type.

Returns:

  • (String)


35203
35204
35205
35206
35207
35208
35209
# File 'lib/aws-sdk-ec2/types.rb', line 35203

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

#valueString

The tag value.

Returns:

  • (String)


35203
35204
35205
35206
35207
35208
35209
# File 'lib/aws-sdk-ec2/types.rb', line 35203

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