Class: Aws::SecurityHub::Types::AwsEc2InstanceDetails

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

Overview

The details of an Amazon EC2 instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profile_arnString

The IAM profile ARN of the instance.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#image_idString

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

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v4_addressesArray<String>

The IPv4 addresses associated with the instance.

Returns:

  • (Array<String>)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v6_addressesArray<String>

The IPv6 addresses associated with the instance.

Returns:

  • (Array<String>)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#key_nameString

The key name associated with the instance.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#launched_atString

Indicates when the instance was launched.

This field accepts only the specified formats. Timestamps can end with ‘Z` or `(“+” / “-”) time-hour [“:” time-minute]`. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • ‘YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example, `2019-01-31T23:00:00.123456789Z`)

  • ‘YYYY-MM-DDTHH:MM:SS+HH:MM` (for example, `2024-01-04T15:25:10+17:59`)

  • ‘YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)

  • ‘YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example, `2024-01-04T15:25:10.123456789+17:59`)

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#metadata_optionsTypes::AwsEc2InstanceMetadataOptions

Details about the metadata options for the Amazon EC2 instance.



6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#monitoringTypes::AwsEc2InstanceMonitoringDetails

Describes the type of monitoring that’s turned on for an instance.



6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#network_interfacesArray<Types::AwsEc2InstanceNetworkInterfacesDetails>

The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding ‘AwsEc2NetworkInterfacesDetails` object.



6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The identifier of the subnet that the instance was launched in.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The instance type of the instance.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#virtualization_typeString

The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The identifier of the VPC that the instance was launched in.

Returns:

  • (String)


6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
# File 'lib/aws-sdk-securityhub/types.rb', line 6802

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,
  :network_interfaces,
  :virtualization_type,
  :metadata_options,
  :monitoring)
  SENSITIVE = []
  include Aws::Structure
end