Skip to content

AwsEc2InstanceDetails

Source code in docs_src/capo_securityhub/types/aws_ec2_instance_details.py
class AwsEc2InstanceDetails(TypedDict, closed=True):
    type: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The instance type of the instance. </p>"""
    image_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The Amazon Machine Image (AMI) ID of the instance.</p>"""
    ip_v4_addresses: NotRequired["capo_securityhub.types.string_list.StringList"]
    """<p>The IPv4 addresses associated with the instance.</p>"""
    ip_v6_addresses: NotRequired["capo_securityhub.types.string_list.StringList"]
    """<p>The IPv6 addresses associated with the instance.</p>"""
    key_name: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The key name associated with the instance.</p>"""
    iam_instance_profile_arn: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The IAM profile ARN of the instance.</p>"""
    vpc_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The identifier of the VPC that the instance was launched in.</p>"""
    subnet_id: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>The identifier of the subnet that the instance was launched in.</p>"""
    launched_at: NotRequired["capo_securityhub.types.non_empty_string.NonEmptyString"]
    """<p>Indicates when the instance was launched.</p> <p>For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps">Timestamps</a>.</p>"""
    network_interfaces: NotRequired[
        "capo_securityhub.types.aws_ec2_instance_network_interfaces_list.AwsEc2InstanceNetworkInterfacesList"
    ]
    """<p>The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding <code>AwsEc2NetworkInterfacesDetails</code> object.</p>"""
    virtualization_type: NotRequired[
        "capo_securityhub.types.non_empty_string.NonEmptyString"
    ]
    """<p>The virtualization type of the Amazon Machine Image (AMI) required to launch the instance. </p>"""
    metadata_options: NotRequired[
        "capo_securityhub.types.aws_ec2_instance_metadata_options.AwsEc2InstanceMetadataOptions"
    ]
    """<p>Details about the metadata options for the Amazon EC2 instance. </p>"""
    monitoring: NotRequired[
        "capo_securityhub.types.aws_ec2_instance_monitoring_details.AwsEc2InstanceMonitoringDetails"
    ]
    """<p> Describes the type of monitoring that’s turned on for an instance. </p>"""

iam_instance_profile_arn instance-attribute

iam_instance_profile_arn: NotRequired[NonEmptyString]

The IAM profile ARN of the instance.

image_id instance-attribute

image_id: NotRequired[NonEmptyString]

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

ip_v4_addresses instance-attribute

ip_v4_addresses: NotRequired[StringList]

The IPv4 addresses associated with the instance.

ip_v6_addresses instance-attribute

ip_v6_addresses: NotRequired[StringList]

The IPv6 addresses associated with the instance.

key_name instance-attribute

key_name: NotRequired[NonEmptyString]

The key name associated with the instance.

launched_at instance-attribute

launched_at: NotRequired[NonEmptyString]

Indicates when the instance was launched.

For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

metadata_options instance-attribute

metadata_options: NotRequired[AwsEc2InstanceMetadataOptions]

Details about the metadata options for the Amazon EC2 instance.

monitoring instance-attribute

monitoring: NotRequired[AwsEc2InstanceMonitoringDetails]

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

network_interfaces instance-attribute

network_interfaces: NotRequired[AwsEc2InstanceNetworkInterfacesList]

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

subnet_id instance-attribute

subnet_id: NotRequired[NonEmptyString]

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

type instance-attribute

type: NotRequired[NonEmptyString]

The instance type of the instance.

virtualization_type instance-attribute

virtualization_type: NotRequired[NonEmptyString]

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

vpc_id instance-attribute

vpc_id: NotRequired[NonEmptyString]

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