Get Instance Result
A collection of values returned by getInstance.
Constructors
Properties
Whether or not the Instance is associated with a public IP address or not (Boolean).
Availability zone of the Instance.
Credit specification of the Instance.
Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
Whether or not EC2 Instance Termination Protection is enabled (Boolean).
EBS block device mappings of the Instance.
Whether the Instance is EBS optimized or not (Boolean).
Enclave options of the instance.
Ephemeral block device mappings of the Instance.
ARN of the host resource group the instance is associated with.
Name of the instance profile associated with the Instance.
State of the instance. One of: pending
, running
, shutting-down
, terminated
, stopping
, stopped
. See Instance Lifecycle for more information.
Type of the Instance.
IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
Maintenance and recovery options for the instance.
Metadata options of the Instance.
Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
ID of the network interface that was created with the Instance.
ARN of the Outpost.
Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_data
is true. See GetPasswordData for more information.
Placement group of the Instance.
Number of the partition the instance is in.
Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
Options for the instance hostname.
Root block device mappings of the Instance
Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
Associated security groups.
Whether the network interface performs source/destination checking (Boolean).
Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_data
is true.
Associated security groups in a non-default VPC.