interface AddOnProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnInstance.AddOnProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnInstance_AddOnProperty |
Java | software.amazon.awscdk.services.lightsail.CfnInstance.AddOnProperty |
Python | aws_cdk.aws_lightsail.CfnInstance.AddOnProperty |
TypeScript | aws-cdk-lib » 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 { aws_lightsail as lightsail } from 'aws-cdk-lib';
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
).
AutoSnapshot
is 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