Class: Aws::Inspector2::Types::AwsEc2InstanceDetails

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

Overview

Details of the Amazon EC2 instance involved in a finding.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profile_arn ⇒ String

The IAM instance profile ARN of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#image_id ⇒ String

The image ID of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v4_addresses ⇒ Array<String>

The IPv4 addresses of the Amazon EC2 instance.

Returns:

  • (Array<String>)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v6_addresses ⇒ Array<String>

The IPv6 addresses of the Amazon EC2 instance.

Returns:

  • (Array<String>)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#key_name ⇒ String

The name of the key pair used to launch the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#launched_at ⇒ Time

The date and time the Amazon EC2 instance was launched at.

Returns:



664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#platform ⇒ String

The platform of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_id ⇒ String

The subnet ID of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#type ⇒ String

The type of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_id ⇒ String

The VPC ID of the Amazon EC2 instance.

Returns:

  • (String)


664
665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aws-sdk-inspector2/types.rb', line 664

class AwsEc2InstanceDetails < Struct.new(
  :type,
  :image_id,
  :ip_v4_addresses,
  :ip_v6_addresses,
  :key_name,
  :iam_instance_profile_arn,
  :vpc_id,
  :subnet_id,
  :launched_at,
  :platform)
  SENSITIVE = []
  include Aws::Structure
end