AwsEc2InstanceDetails - AWS Security Hub

AwsEc2InstanceDetails

The details of an Amazon EC2 instance.

Contents

IamInstanceProfileArn

The IAM profile ARN of the instance.

Type: String

Pattern: .*\S.*

Required: No

ImageId

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

Type: String

Pattern: .*\S.*

Required: No

IpV4Addresses

The IPv4 addresses associated with the instance.

Type: Array of strings

Pattern: .*\S.*

Required: No

IpV6Addresses

The IPv6 addresses associated with the instance.

Type: Array of strings

Pattern: .*\S.*

Required: No

KeyName

The key name associated with the instance.

Type: String

Pattern: .*\S.*

Required: No

LaunchedAt

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 that you can send to Security Hub:

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

If a finding provider sends a finding to Security Hub that contains a timestamp in nanoseconds, we round it to milliseconds. For example, we round 2024-10-31T23:00:00.123456789Z to 2024-10-31T23:00:00.123Z.

Type: String

Pattern: .*\S.*

Required: No

MetadataOptions

Details about the metadata options for the Amazon EC2 instance.

Type: AwsEc2InstanceMetadataOptions object

Required: No

Monitoring

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

Type: AwsEc2InstanceMonitoringDetails object

Required: No

NetworkInterfaces

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

Type: Array of AwsEc2InstanceNetworkInterfacesDetails objects

Required: No

SubnetId

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

Type: String

Pattern: .*\S.*

Required: No

Type

The instance type of the instance.

Type: String

Pattern: .*\S.*

Required: No

VirtualizationType

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

Type: String

Pattern: .*\S.*

Required: No

VpcId

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

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: