Interface EbsDeviceOptions
- All Superinterfaces:
EbsDeviceOptionsBase,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EbsDeviceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.362Z")
@Stability(Stable)
public interface EbsDeviceOptions
extends software.amazon.jsii.JsiiSerializable, EbsDeviceOptionsBase
Block device options for an EBS volume.
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.*;
EbsDeviceOptions ebsDeviceOptions = EbsDeviceOptions.builder()
.deleteOnTermination(false)
.encrypted(false)
.iops(123)
.volumeType(EbsDeviceVolumeType.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forEbsDeviceOptionsstatic final classAn implementation forEbsDeviceOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic EbsDeviceOptions.Builderbuilder()default BooleanSpecifies whether the EBS volume is encrypted.Methods inherited from interface software.amazon.awscdk.services.autoscaling.EbsDeviceOptionsBase
getDeleteOnTermination, getIops, getVolumeTypeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncrypted
Specifies whether the EBS volume is encrypted.Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption
Default: false
-
builder
- Returns:
- a
EbsDeviceOptions.BuilderofEbsDeviceOptions
-