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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2820
2821
2822
2823
2824
2825
2826
# File 'lib/aws-sdk-inspector2/types.rb', line 2820

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

#platformString

The platform of the instance.

Returns:

  • (String)


2820
2821
2822
2823
2824
2825
2826
# File 'lib/aws-sdk-inspector2/types.rb', line 2820

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


2820
2821
2822
2823
2824
2825
2826
# File 'lib/aws-sdk-inspector2/types.rb', line 2820

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