interface EbsDeviceSnapshotOptions
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.AutoScaling.EbsDeviceSnapshotOptions | 
  Java | software.amazon.awscdk.services.autoscaling.EbsDeviceSnapshotOptions | 
  Python | aws_cdk.aws_autoscaling.EbsDeviceSnapshotOptions | 
  TypeScript (source) | @aws-cdk/aws-autoscaling » EbsDeviceSnapshotOptions | 
Block device options for an EBS volume created from a snapshot.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as autoscaling from '@aws-cdk/aws-autoscaling';
const ebsDeviceSnapshotOptions: autoscaling.EbsDeviceSnapshotOptions = {
  deleteOnTermination: false,
  iops: 123,
  volumeSize: 123,
  volumeType: autoscaling.EbsDeviceVolumeType.STANDARD,
};
Properties
| Name | Type | Description | 
|---|---|---|
| delete | boolean | Indicates whether to delete the volume when the instance is terminated. | 
| iops? | number | The number of I/O operations per second (IOPS) to provision for the volume. | 
| volume | number | The volume size, in Gibibytes (GiB). | 
| volume | Ebs | The EBS volume type. | 
deleteOnTermination?
Type:
boolean
(optional, default: true for Amazon EC2 Auto Scaling, false otherwise (e.g. EBS))
Indicates whether to delete the volume when the instance is terminated.
iops?
Type:
number
(optional, default: none, required for {@link EbsDeviceVolumeType.IO1})
The number of I/O operations per second (IOPS) to provision for the volume.
Must only be set for {@link volumeType}: {@link EbsDeviceVolumeType.IO1}
The maximum ratio of IOPS to volume size (in GiB) is 50:1, so for 5,000 provisioned IOPS, you need at least 100 GiB storage on the volume.
See also: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
volumeSize?
Type:
number
(optional, default: The snapshot size)
The volume size, in Gibibytes (GiB).
If you specify volumeSize, it must be equal or greater than the size of the snapshot.
volumeType?
Type:
Ebs
(optional, default: {@link EbsDeviceVolumeType.GP2})
The EBS volume type.
See also: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html

 .NET
 Java
 Python
 TypeScript (