Show / Hide Table of Contents

Interface CfnInstance.IDiskProperty

Disk is a property of the Hardware property. It describes a disk attached to an instance.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-instance-disk.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 diskProperty = new DiskProperty {
                 DiskName = "diskName",
                 Path = "path",

                 // the properties below are optional
                 AttachedTo = "attachedTo",
                 AttachmentState = "attachmentState",
                 Iops = 123,
                 IsSystemDisk = false,
                 SizeInGb = "sizeInGb"
             };

Synopsis

Properties

AttachedTo

The resources to which the disk is attached.

AttachmentState

(Deprecated) The attachment state of the disk.

DiskName

The unique name of the disk.

Iops

The input/output operations per second (IOPS) of the disk.

IsSystemDisk

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

Path

The disk path.

SizeInGb

The size of the disk in GB.

Properties

AttachedTo

The resources to which the disk is attached.

string? AttachedTo { get; }
Property Value

string

Remarks

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

AttachmentState

(Deprecated) The attachment state of the disk.

string? AttachmentState { get; }
Property Value

string

Remarks
In releases prior to November 14, 2017, this parameter returned <code>attached</code> for system disks in the API response. It is now deprecated, but still included in the response. Use <code>isAttached</code> instead.

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

DiskName

The unique name of the disk.

string DiskName { get; }
Property Value

string

Remarks

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

Iops

The input/output operations per second (IOPS) of the disk.

double? Iops { get; }
Property Value

double?

Remarks

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

IsSystemDisk

A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).

object? IsSystemDisk { get; }
Property Value

object

Remarks

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

Path

The disk path.

string Path { get; }
Property Value

string

Remarks

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

SizeInGb

The size of the disk in GB.

string? SizeInGb { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX