Interface EbsDeviceProps
- All Superinterfaces:
EbsDeviceOptionsBase,EbsDeviceSnapshotOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EbsDeviceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.364Z")
@Stability(Stable)
public interface EbsDeviceProps
extends software.amazon.jsii.JsiiSerializable, EbsDeviceSnapshotOptions
Properties of an EBS block device.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;
EbsDeviceProps ebsDeviceProps = EbsDeviceProps.builder()
.deleteOnTermination(false)
.iops(123)
.snapshotId("snapshotId")
.volumeSize(123)
.volumeType(EbsDeviceVolumeType.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEbsDevicePropsstatic final classAn implementation forEbsDeviceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic EbsDeviceProps.Builderbuilder()default StringThe snapshot ID of the volume to use.Methods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceOptionsBase
getDeleteOnTermination, getIops, getVolumeTypeMethods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceSnapshotOptions
getVolumeSizeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSnapshotId
The snapshot ID of the volume to use.Default: - No snapshot will be used
-
builder
- Returns:
- a
EbsDeviceProps.BuilderofEbsDeviceProps
-