StateProperty Struct
State is a property of the AWS::Lightsail::Instance resource. It describes the status code and the state (for example, running ) of an instance.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const stateProperty: lightsail.CfnInstance.StateProperty = {
code: 123,
name: 'name',
};