Instance Event
Lists the information available for each running instance.
Syntax
typedef void __fastcall (__closure *TibaEC2InstanceEvent)(System::TObject* Sender, TibaEC2InstanceEventParams *e);__property TibaEC2InstanceEvent OnInstance = {read=FOnInstance, write=FOnInstance};
typedef struct {
String ReservationId;
String OwnerId;
String AmiLaunchIndex;
String InstanceId;
String PublicDnsName;
String ImageId;
int StateCode;
String StateName;
String InstanceType;
String KeyName;
String LaunchTime;
String Placement;
String PrivateDnsName;
String Reason;
String KernelId;
String ProductCodes;
String RamDiskId;
String GroupSet;
} TibaEC2InstanceEventParams;
Remarks
This event is fired by calling the method ListInstances.
State codes:
0 | Pending |
16 | Running |
32 | Shutting Down |
48 | Terminated |