Class: Aws::Inspector2::Types::Ec2Metadata

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

Overview

Meta data details of an Amazon EC2 instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ami_idString

The ID of the Amazon Machine Image (AMI) used to launch the instance.

Returns:

  • (String)


2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2810

class Ec2Metadata < Struct.new(
  :ami_id,
  :platform,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#platformString

The platform of the instance.

Returns:

  • (String)


2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2810

class Ec2Metadata < Struct.new(
  :ami_id,
  :platform,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags attached to the instance.

Returns:

  • (Hash<String,String>)


2810
2811
2812
2813
2814
2815
2816
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2810

class Ec2Metadata < Struct.new(
  :ami_id,
  :platform,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end