Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / lightsail / get-instance-state.rst
Size: Mime:
**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"
        }
    }