You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AwsEc2InstanceDetails as input to an Aws::Client method, you can use a vanilla 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",
}

The details of an Amazon EC2 instance.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profile_arnString

The IAM profile ARN of the instance.

Returns:

  • (String)

    The IAM profile ARN of the instance.

#image_idString

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

Returns:

  • (String)

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

#ip_v4_addressesArray<String>

The IPv4 addresses associated with the instance.

Returns:

  • (Array<String>)

    The IPv4 addresses associated with the instance.

#ip_v6_addressesArray<String>

The IPv6 addresses associated with the instance.

Returns:

  • (Array<String>)

    The IPv6 addresses associated with the instance.

#key_nameString

The key name associated with the instance.

Returns:

  • (String)

    The key name associated with the instance.

#launched_atString

The date/time the instance was launched.

Returns:

  • (String)

    The date/time the instance was launched.

#subnet_idString

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

Returns:

  • (String)

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

#typeString

The instance type of the instance.

Returns:

  • (String)

    The instance type of the instance.

#vpc_idString

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

Returns:

  • (String)

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