AddOnProperty Struct
AddOn is a property of the AWS::Lightsail::Disk resource. It describes the add-ons for a disk.
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 addOnProperty: lightsail.CfnDisk.AddOnProperty = {
addOnType: 'addOnType',
// the properties below are optional
autoSnapshotAddOnRequest: {
snapshotTimeOfDay: 'snapshotTimeOfDay',
},
status: 'status',
};
Properties
The add-on type (for example, `AutoSnapshot` ).
AutoSnapshotis the only add-on that can be enabled for a disk.
autoSnapshotAddOnRequestoptionalIResolvable | CfnDisk.AutoSnapshotAddOnPropertyauto_snapshot_add_on_requestoptionaltyping.Union[IResolvable, AutoSnapshotAddOnProperty]autoSnapshotAddOnRequestoptionalIResolvableAutoSnapshotAddOnRequestoptionalIResolvableAutoSnapshotAddOnRequestoptionalinterface{}#The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
The status of the add-on.
Valid Values: Enabled | Disabled