Show / Hide Table of Contents

Class CfnDisk.AddOnProperty

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

Inheritance
object
CfnDisk.AddOnProperty
Implements
CfnDisk.IAddOnProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDisk.AddOnProperty : CfnDisk.IAddOnProperty
Syntax (vb)
Public Class CfnDisk.AddOnProperty Implements 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

Constructors

AddOnProperty()

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

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.

Constructors

AddOnProperty()

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

public AddOnProperty()
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"
             };

Properties

AddOnType

The add-on type (for example, AutoSnapshot ).

public string AddOnType { get; set; }
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.

public object? AutoSnapshotAddOnRequest { get; set; }
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.

public string? Status { get; set; }
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

Implements

CfnDisk.IAddOnProperty
Back to top Generated by DocFX