Show / Hide Table of Contents

Interface CfnDisk.IAddOnProperty

AddOn is a property of the AWS::Lightsail::Disk resource. It describes the add-ons for a disk.

Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDisk.IAddOnProperty
Syntax (vb)
Public Interface CfnDisk.IAddOnProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html

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, AutoSnapshot ).

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

string

Remarks
<code>AutoSnapshot</code> is the only add-on that can be enabled for a disk.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-addontype

AutoSnapshotAddOnRequest

The parameters for the automatic snapshot add-on, such as the daily time when an automatic snapshot will be created.

object? AutoSnapshotAddOnRequest { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-autosnapshotaddonrequest

Status

The status of the add-on.

string? Status { get; }
Property Value

string

Remarks

Valid Values: Enabled | Disabled

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-disk-addon.html#cfn-lightsail-disk-addon-status

Back to top Generated by DocFX