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)


2823
2824
2825
2826
2827
2828
2829
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2823

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

#platformString

The platform of the instance.

Returns:

  • (String)


2823
2824
2825
2826
2827
2828
2829
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2823

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>)


2823
2824
2825
2826
2827
2828
2829
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 2823

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