Class CfnInstance.AddOnProperty
AddOn
is a property of the AWS::Lightsail::Instance resource. It describes the add-ons for an instance.
Inheritance
System.Object
CfnInstance.AddOnProperty
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AddOnProperty : Object, CfnInstance.IAddOnProperty
Syntax (vb)
Public Class AddOnProperty
Inherits Object
Implements CfnInstance.IAddOnProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var addOnProperty = new AddOnProperty {
AddOnType = "addOnType",
// the properties below are optional
AutoSnapshotAddOnRequest = new AutoSnapshotAddOnProperty {
SnapshotTimeOfDay = "snapshotTimeOfDay"
},
Status = "status"
};
Synopsis
Constructors
AddOnProperty() |
Properties
AddOnType | The add-on type (for example, |
AutoSnapshotAddOnRequest | The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created. |
Status | The status of the add-on. |
Constructors
AddOnProperty()
public AddOnProperty()
Properties
AddOnType
The add-on type (for example, AutoSnapshot
).
public string AddOnType { get; set; }
Property Value
System.String
Remarks
AutoSnapshot
is the only add-on that can be enabled for an instance.
AutoSnapshotAddOnRequest
The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.
public object AutoSnapshotAddOnRequest { get; set; }
Property Value
System.Object
Remarks
Status
The status of the add-on.
public string Status { get; set; }
Property Value
System.String
Remarks
Valid Values: Enabled
| Disabled