EC2 Instance
Resource Type
AWS.EC2.Instance
Resource ID Format
For EC2 Instances, the resource ID is the ARN.
arn:aws:ec2:us-west-2:123456789012:instance/i-1
Background
This resource represents a snapshot of an AWS EC2 Instance.
Fields
Field | Type | Description |
AmiLaunchIndex |
| The AMI launch index. |
Architecture |
| The architecture of the image. |
BlockDeviceMappings |
| Any block device mapping entries for the instance. |
CapacityReservationId |
| The ID of the Capacity Reservation. |
CapacityReservationSpecification |
| Information about the Capacity Reservation targeting option. |
ClientToken |
| The provided token when the instance launched. |
CpuOptions |
| The CPU options for the instance. |
EbsOptimized |
| Whether the instance is optimized for Amazon EBS I/O. |
ElasticGpuAssociations |
| The Elastic GPU associated with the instance. |
ElasticInferenceAcceleratorAssociations |
| The elastic inference accelerator associated with the instance. |
EnaSupport |
| Whether enhanced networking with ENA is enabled. |
HibernationOptions |
| Whether the instance is enabled for Amazon Web Services Nitro Enclaves. |
Hypervisor |
| The hypervisor type of the instance. |
IamInstanceProfile |
| The IAM instance profile associated with the instance. |
ImageId |
| The ID of the AMI used to launch the instance. |
InstanceLifecycle |
| Whether this is a Spot Instance or a Scheduled Instance. |
InstanceType |
| The instance type. |
KernelId |
| The kernel associated with this instance. |
KeyName |
| The name of the key pair, if this instance was launched with an associated key pair. |
Licenses |
| The license configurations for the instance. |
MetadataOptions |
| The metadata options for the instance. |
Monitoring |
| The monitoring for the instance. |
NetworkInterfaces |
| |
Placement |
| The location where the instance launched, if applicable. |
Platform |
| The instance operating system. |
PrivateDnsName |
| The private DNS hostname name assigned to the instance. |
PrivateIpAddress |
| The private IPv4 address assigned to the instance. |
ProductCodes |
| The product codes attached to this instance. |
PublicDnsName |
| The public DNS name assigned to the instance. |
PublicIpAddress |
| The public IP address. |
RamdiskId |
| The RAM disk associated with this instance. |
RootDeviceName |
| The device name of the root device volume. |
RootDeviceType |
| The root device type used by the AMI. |
SecurityGroups |
| The security groups for the instance. |
SourceDestCheck |
| Whether source/destination checking is enabled. |
SpotInstanceRequestId |
| The ID of the Spot Instance request. |
SriovNetSupport |
| Whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
State |
| The current state of the instance. |
StateReason |
| The reason for the most recent state transition. |
StateTransitionReason |
| The reason for the most recent state transition. |
SubnetId |
| The ID of the subnet in which the instance is running. |
VirtualizationType |
| The virtualization type of the instance. |
VpcId |
| The ID of the VPC in which the instance is running. |
Example
Last updated