Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

InstanceState

Describes the current state of an instance.

Contents

code

The low byte represents the state. The high byte is an opaque internal value and should be ignored.

  • 0 : pending

  • 16 : running

  • 32 : shutting-down

  • 48 : terminated

  • 64 : stopping

  • 80 : stopped

Type: Integer

Required: No

name

The current state of the instance.

Type: String

Valid Values: pending | running | shutting-down | terminated | stopping | stopped

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: