AWS::Lightsail::Instance State - AWS CloudFormation

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