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

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

Overview

Note:

When making an API call, you may pass AwsEc2InstanceDetails data as a hash:

{
  type: "NonEmptyString",
  image_id: "NonEmptyString",
  ip_v4_addresses: ["NonEmptyString"],
  ip_v6_addresses: ["NonEmptyString"],
  key_name: "NonEmptyString",
  iam_instance_profile_arn: "NonEmptyString",
  vpc_id: "NonEmptyString",
  subnet_id: "NonEmptyString",
  launched_at: "NonEmptyString",
  network_interfaces: [
    {
      network_interface_id: "NonEmptyString",
    },
  ],
}

The details of an 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)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#image_idString

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

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v4_addressesArray<String>

The IPv4 addresses associated with the instance.

Returns:

  • (Array<String>)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#ip_v6_addressesArray<String>

The IPv6 addresses associated with the instance.

Returns:

  • (Array<String>)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#key_nameString

The key name associated with the instance.

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#launched_atString

Indicates when the instance was launched.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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



4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

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

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The instance type of the instance.

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

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

Returns:

  • (String)


4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4550

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)
  SENSITIVE = []
  include Aws::Structure
end