interface AddOnProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lightsail.Mixins.CfnInstancePropsMixin.AddOnProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslightsail/mixins#CfnInstancePropsMixin_AddOnProperty |
Java | software.amazon.awscdk.mixins.preview.services.lightsail.mixins.CfnInstancePropsMixin.AddOnProperty |
Python | aws_cdk.mixins_preview.aws_lightsail.mixins.CfnInstancePropsMixin.AddOnProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lightsail » mixins » CfnInstancePropsMixin » 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 { mixins as lightsail_mixins } from '@aws-cdk/mixins-preview/aws-lightsail';
const addOnProperty: lightsail_mixins.CfnInstancePropsMixin.AddOnProperty = {
addOnType: 'addOnType',
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
(optional)
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
Go
Java
Python
TypeScript