interface AddOnProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnInstance.AddOnProperty |
Java | software.amazon.awscdk.services.lightsail.CfnInstance.AddOnProperty |
Python | aws_cdk.aws_lightsail.CfnInstance.AddOnProperty |
TypeScript | @aws-cdk/aws-lightsail » CfnInstance » AddOnProperty |
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 * as lightsail from '@aws-cdk/aws-lightsail';
const addOnProperty: lightsail.CfnInstance.AddOnProperty = {
addOnType: 'addOnType',
// the properties below are optional
autoSnapshotAddOnRequest: {
snapshotTimeOfDay: 'snapshotTimeOfDay',
},
status: 'status',
};
Properties
| Name | Type | Description |
|---|---|---|
| add | string | The add-on type (for example, AutoSnapshot ). |
| auto | IResolvable | Auto | The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created. |
| status? | string | The status of the add-on. |
addOnType
Type:
string
The add-on type (for example, AutoSnapshot ).
AutoSnapshotis the only add-on that can be enabled for an instance.
autoSnapshotAddOnRequest?
Type:
IResolvable | Auto
(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

.NET
Java
Python
TypeScript