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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEbsDeviceProps
static final class
An implementation forEbsDeviceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic EbsDeviceProps.Builder
builder()
default String
The snapshot ID of the volume to use.Methods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceOptionsBase
getDeleteOnTermination, getIops, getVolumeType
Methods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceSnapshotOptions
getVolumeSize
Methods 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.Builder
ofEbsDeviceProps
-