Show / Hide Table of Contents

Class CfnInstance.AddOnProperty

AddOn is a property of the AWS::Lightsail::Instance resource. It describes the add-ons for an instance.

Inheritance
object
CfnInstance.AddOnProperty
Implements
CfnInstance.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 CfnInstance.AddOnProperty : CfnInstance.IAddOnProperty
Syntax (vb)
Public Class CfnInstance.AddOnProperty Implements CfnInstance.IAddOnProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-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::Instance resource. It describes the add-ons for an instance.

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::Instance resource. It describes the add-ons for an instance.

public AddOnProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-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 an instance.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-addon.html#cfn-lightsail-instance-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-instance-addon.html#cfn-lightsail-instance-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-instance-addon.html#cfn-lightsail-instance-addon-status

Implements

CfnInstance.IAddOnProperty
Back to top Generated by DocFX