aws.ec2.instance
Supported Platform
- aws
Description
AWS EC2 Instance
The aws.ec2.instance
resource provides fields for assessing the configuration of EC2 instances within an account. For usage see aws.ec2
resource.
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
arn | string | arn for the instance |
instanceId | string | instance id for the instance |
detailedMonitoring | string | indicates whether detailed monitoring is enabled |
region | string | region where the instance exists |
publicIp | string | public ip for instance |
ssm | dict | Amazon Systems Manager information for the instance |
vpc | aws.vpc | vpc associated with the instance |
httpTokens | string | a value of optional for http tokens denotes imdsv1 server compatibility; required is imdsv2 |
patchState | dict | patch state information about the instance |
state | string | state of the instance |
deviceMappings | []aws.ec2.instance.device | List of devices attached to the instance (e.g. ebs volume) |
securityGroups | []aws.ec2.securitygroup | List of security groups (ids) associated with the instance |
publicDnsName | string | Public dns name for the instance |
instanceStatus | dict | The status of the specified instance |
stateReason | dict | Reason for the most recent state transition |
stateTransitionReason | string | Reason for the most recent state transition |
ebsOptimized | bool | Denotes whether or not instance has ebs optimization turned on |
instanceType | string | Instance type, e.g. t1.micro |
tags | map[string]string | Tags on the instance |
image | aws.ec2.image | Image that was used for the instance |
launchTime | time | Launch time of the instance |