Terminate Instances scratchpad entries

The activity writes this data to the workflow scratchpad.

Variable Description
instances
An array of instance objects. Each object in the array contains:
  • instance_id: ID of the running instance.
  • private_dns: wmpty string, because a terminated instance does not have a private DNS.
  • dns: empty string, because a terminated instance does not have a public DNS.
  • ip_address: empty string because a terminated instance does not have an IP address.
  • instance_state: state of the instance:
    • 0: Pending
    • 16: Running
    • 32: Shutting down
    • 48: Terminated
    • 64: Stopping
    • 80: Stopped
  • instance_xml: the raw XML returned by Amazon.