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

Instance Event

Lists the information available for each running instance.

Syntax

[VB.NET]
Public Event OnInstance As OnInstanceHandler
[C#]
public event OnInstanceHandler OnInstance;

public delegate void OnInstanceHandler(object sender, Ec2InstanceEventArgs e);

class Ec2InstanceEventArgs : EventArgs {
  string ReservationId {get;}
  string OwnerId {get;}
  string AmiLaunchIndex {get;}
  string InstanceId {get;}
  string PublicDnsName {get;}
  string ImageId {get;}
  int StateCode {get;}
  string StateName {get;}
  string InstanceType {get;}
  string KeyName {get;}
  string LaunchTime {get;}
  string Placement {get;}
  string PrivateDnsName {get;}
  string Reason {get;}
  string KernelId {get;}
  string ProductCodes {get;}
  string RamDiskId {get;}
  string GroupSet {get;}
}

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