Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
lightsail
📤 Upload
📝 New File
📁 New Folder
Close
Editing: get-instance-state.rst
**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" } }
Save
Cancel