Change state activity scratchpad entries

The activity writes this data to the workflow scratchpad.

Variable Description
instances An array of instance objects. Each object contains:
  • instance_id: the VM ID.
  • instance_state: an EC2 status code:
    • 0: Pending
    • 16: Running
    • 32: Shutting down
    • 48: Terminated
    • 64: Stopping
    • 80: Stopped
  • instance_xml: the raw XML returned by Amazon.