AWS::Lightsail::Instance State - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Lightsail::Instance State

State is a property of the AWS::Lightsail::Instance resource. It describes the status code and the state (for example, running) of an instance.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Code" : Integer, "Name" : String }

YAML

Code: Integer Name: String

Properties

Code

The status code of the instance.

Required: No

Type: Integer

Update requires: No interruption

Name

The state of the instance (for example, running or pending).

Required: No

Type: String

Update requires: No interruption