Interface CfnInstancePropsMixin.DiskProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstancePropsMixin.DiskProperty.Jsii$Proxy
- Enclosing class:
CfnInstancePropsMixin
@Stability(Stable)
public static interface CfnInstancePropsMixin.DiskProperty
extends software.amazon.jsii.JsiiSerializable
Disk is a property of the Hardware property. It describes a disk attached to an instance.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lightsail.*;
DiskProperty diskProperty = DiskProperty.builder()
.attachedTo("attachedTo")
.attachmentState("attachmentState")
.diskName("diskName")
.iops(123)
.isSystemDisk(false)
.path("path")
.sizeInGb("sizeInGb")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstancePropsMixin.DiskPropertystatic final classAn implementation forCfnInstancePropsMixin.DiskProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe resources to which the disk is attached.default String(Deprecated) The attachment state of the disk.default StringThe unique name of the disk.default NumbergetIops()The input/output operations per second (IOPS) of the disk.default ObjectA Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).default StringgetPath()The disk path.default StringThe size of the disk in GB.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttachedTo
The resources to which the disk is attached.- See Also:
-
getAttachmentState
(Deprecated) The attachment state of the disk.In releases prior to November 14, 2017, this parameter returned
attachedfor system disks in the API response. It is now deprecated, but still included in the response. UseisAttachedinstead.- See Also:
-
getDiskName
The unique name of the disk.- See Also:
-
getIops
The input/output operations per second (IOPS) of the disk.- See Also:
-
getIsSystemDisk
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).Returns union: either
BooleanorIResolvable- See Also:
-
getPath
The disk path.- See Also:
-
getSizeInGb
The size of the disk in GB.- See Also:
-
builder
-