@Stability(value=Stable)
public static interface CfnInstance.HardwareProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
HardwareProperty hardwareProperty = HardwareProperty.builder()
.cpuCount(123)
.disks(List.of(DiskProperty.builder()
.diskName("diskName")
.path("path")
// the properties below are optional
.attachedTo("attachedTo")
.attachmentState("attachmentState")
.iops(123)
.isSystemDisk(false)
.sizeInGb("sizeInGb")
.build()))
.ramSizeInGb(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.HardwareProperty.Builder
A builder for
CfnInstance.HardwareProperty |
static class |
CfnInstance.HardwareProperty.Jsii$Proxy
An implementation for
CfnInstance.HardwareProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.HardwareProperty.Builder |
builder() |
default Number |
getCpuCount()
`CfnInstance.HardwareProperty.CpuCount`.
|
default Object |
getDisks()
`CfnInstance.HardwareProperty.Disks`.
|
default Number |
getRamSizeInGb()
`CfnInstance.HardwareProperty.RamSizeInGb`.
|
@Stability(value=Stable) @Nullable default Number getCpuCount()
@Stability(value=Stable) @Nullable default Object getDisks()
@Stability(value=Stable) @Nullable default Number getRamSizeInGb()
@Stability(value=Stable) static CfnInstance.HardwareProperty.Builder builder()
Copyright © 2021. All rights reserved.