Interface CfnInstance.IAddOnProperty
AddOn
is a property of the AWS::Lightsail::Instance resource. It describes the add-ons for an instance.
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAddOnProperty
Syntax (vb)
Public Interface 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
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. |
Properties
AddOnType
The add-on type (for example, AutoSnapshot
).
string AddOnType { get; }
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.
virtual object AutoSnapshotAddOnRequest { get; }
Property Value
System.Object
Remarks
Status
The status of the add-on.
virtual string Status { get; }
Property Value
System.String
Remarks
Valid Values: Enabled
| Disabled