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)


23865
23866
23867
23868
23869
23870
23871
# File 'lib/aws-sdk-ec2/types.rb', line 23865

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)


23865
23866
23867
23868
23869
23870
23871
# File 'lib/aws-sdk-ec2/types.rb', line 23865

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

#resource_typeString

The resource type.

Returns:

  • (String)


23865
23866
23867
23868
23869
23870
23871
# File 'lib/aws-sdk-ec2/types.rb', line 23865

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

#valueString

The tag value.

Returns:

  • (String)


23865
23866
23867
23868
23869
23870
23871
# File 'lib/aws-sdk-ec2/types.rb', line 23865

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