AWS::Lightsail::Instance State - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

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 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