Skip to content

Guardduty  >  Structures  >  Ec2Instance

Ec2Instance

Structure Class

Ec2Instance dataclass

Details about the potentially impacted Amazon EC2 instance resource.

Attributes

availability_zone class-attribute instance-attribute
availability_zone: str | None = None

The availability zone of the Amazon EC2 instance. For more information, see Availability zones in the Amazon EC2 User Guide.

ec2_network_interface_uids class-attribute instance-attribute
ec2_network_interface_uids: list[str] | None = None

The ID of the network interface.

iam_instance_profile class-attribute instance-attribute
iam_instance_profile: IamInstanceProfile | None = None

Contains information about the EC2 instance profile.

image_description class-attribute instance-attribute
image_description: str | None = None

The image description of the Amazon EC2 instance.

instance_state class-attribute instance-attribute
instance_state: str | None = None

The state of the Amazon EC2 instance. For more information, see Amazon EC2 instance state changes in the Amazon EC2 User Guide.

instance_type class-attribute instance-attribute
instance_type: str | None = None

Type of the Amazon EC2 instance.

outpost_arn class-attribute instance-attribute
outpost_arn: str | None = None

The Amazon Resource Name (ARN) of the Amazon Web Services Outpost. This shows applicable Amazon Web Services Outposts instances.

platform class-attribute instance-attribute
platform: str | None = None

The platform of the Amazon EC2 instance.

product_codes class-attribute instance-attribute
product_codes: list[ProductCode] | None = None

The product code of the Amazon EC2 instance.