Interface CfnInstance.AddOnProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstance.AddOnProperty.Jsii$Proxy
- Enclosing class:
CfnInstance
@Stability(Stable)
public static interface CfnInstance.AddOnProperty
extends software.amazon.jsii.JsiiSerializable
AddOn
is a property of the AWS::Lightsail::Instance resource. It describes the add-ons for 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.services.lightsail.*; AddOnProperty addOnProperty = AddOnProperty.builder() .addOnType("addOnType") // the properties below are optional .autoSnapshotAddOnRequest(AutoSnapshotAddOnProperty.builder() .snapshotTimeOfDay("snapshotTimeOfDay") .build()) .status("status") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInstance.AddOnProperty
static final class
An implementation forCfnInstance.AddOnProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddOnType
The add-on type (for example,AutoSnapshot
).AutoSnapshot
is the only add-on that can be enabled for an instance.- See Also:
-
getAutoSnapshotAddOnRequest
The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.- See Also:
-
getStatus
The status of the add-on.Valid Values:
Enabled
|Disabled
- See Also:
-
builder
- Returns:
- a
CfnInstance.AddOnProperty.Builder
ofCfnInstance.AddOnProperty
-