aws-cdk-lib.aws_lightsail.CfnDisk.AddOnProperty

interface AddOnProperty

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnDisk.AddOnProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnDisk_AddOnProperty
Javasoftware.amazon.awscdk.services.lightsail.CfnDisk.AddOnProperty
Pythonaws_cdk.aws_lightsail.CfnDisk.AddOnProperty
TypeScript aws-cdk-lib » aws_lightsail » CfnDisk » AddOnProperty

AddOn is a property of the AWS::Lightsail::Disk resource. It describes the add-ons for a disk.

Example

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

NameTypeDescription
addOnTypestringThe add-on type (for example, AutoSnapshot ).
autoSnapshotAddOnRequest?IResolvable | AutoSnapshotAddOnPropertyThe parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
status?stringThe status of the add-on.

addOnType

Type: string

The add-on type (for example, AutoSnapshot ).

AutoSnapshot is the only add-on that can be enabled for a disk.


autoSnapshotAddOnRequest?

Type: IResolvable | AutoSnapshotAddOnProperty (optional)

The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.


status?

Type: string (optional)

The status of the add-on.

Valid Values: Enabled | Disabled