# EbsDeviceVolumeType

Supported EBS volume types for blockDevices.

- Source: [`aws-ec2/lib/volume.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-ec2/lib/volume.ts#L222)

## Example

```ts
const imageRecipe = new imagebuilder.ImageRecipe(this, 'BlockDeviceImageRecipe', {
  baseImage: imagebuilder.BaseImage.fromSsmParameterName(
    '/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64'
  ),
  blockDevices: [
    {
      deviceName: '/dev/sda1',
      volume: ec2.BlockDeviceVolume.ebs(100, {
        encrypted: true,
        volumeType: ec2.EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3
      })
    }
  ]
});
```

## Members

| Member | Description |
| --- | --- |
| `STANDARD` | Magnetic. |
| `IO1` | Provisioned IOPS SSD - IO1. |
| `IO2` | Provisioned IOPS SSD - IO2. |
| `GP2` | General Purpose SSD - GP2. |
| `GP3` | General Purpose SSD - GP3. |
| `ST1` | Throughput Optimized HDD. |
| `SC1` | Cold HDD. |

## Referenced by

- [`EbsDeviceOptionsBase`](/v2/docs/aws-cdk-lib.aws_ec2.EbsDeviceOptionsBase).volumeType
- [`EbsOptions`](/v2/docs/aws-cdk-lib.aws_elasticsearch.EbsOptions).volumeType
- [`EbsOptions`](/v2/docs/aws-cdk-lib.aws_opensearchservice.EbsOptions).volumeType
- [`ServiceManagedEBSVolumeConfiguration`](/v2/docs/aws-cdk-lib.aws_ecs.ServiceManagedEBSVolumeConfiguration).volumeType
- [`VolumeProps`](/v2/docs/aws-cdk-lib.aws_ec2.VolumeProps).volumeType
