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

Class: Aws::GuardDuty::Types::Tag

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

Overview

A tag of the EC2 instance.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

EC2 instance tag key.

Returns:

  • (String)


2344
2345
2346
2347
2348
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2344

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end

#valueString

EC2 instance tag value.

Returns:

  • (String)


2344
2345
2346
2347
2348
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2344

class Tag < Struct.new(
  :key,
  :value)
  include Aws::Structure
end