Amazon Integrator V6 - Online Help
Amazon Integrator V6
Questions / Feedback?

Instance Event

Lists the information available for each running instance.

Syntax

ec2.on('Instance', [callback])

Callback

The 'callback' is called when the 'Instance' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.reservationId
e.ownerId
e.amiLaunchIndex
e.instanceId
e.publicDnsName
e.imageId
e.stateCode
e.stateName
e.instanceType
e.keyName
e.launchTime
e.placement
e.privateDnsName
e.reason
e.kernelId
e.productCodes
e.ramDiskId
e.groupSet

Remarks

This event is fired by calling the method ListInstances.

State codes:

0Pending
16Running
32Shutting Down
48Terminated

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0