File size: 325 Bytes
edb3846 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
**To get information about the state of an instance**
The following ``get-instance-state`` example returns the state of the specified instance. ::
aws lightsail get-instance-state \
--instance-name MEAN-1
Output::
{
"state": {
"code": 16,
"name": "running"
}
}
|