Interface CfnInstancePropsMixin.StateProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstancePropsMixin.StateProperty.Jsii$Proxy
- Enclosing class:
CfnInstancePropsMixin
@Stability(Stable)
public static interface CfnInstancePropsMixin.StateProperty
extends software.amazon.jsii.JsiiSerializable
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:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lightsail.*;
StateProperty stateProperty = StateProperty.builder()
.code(123)
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstancePropsMixin.StatePropertystatic final classAn implementation forCfnInstancePropsMixin.StateProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCode
The status code of the instance.- See Also:
-
getName
The state of the instance (for example,runningorpending).- See Also:
-
builder
-