EbsDeviceVolumeType
- class aws_cdk.aws_ec2.EbsDeviceVolumeType(*values)
Bases:
EnumSupported EBS volume types for blockDevices.
- ExampleMetadata:
infused
Example:
image_recipe = imagebuilder.ImageRecipe(self, "BlockDeviceImageRecipe", base_image=imagebuilder.BaseImage.from_ssm_parameter_name("/aws/service/ami-amazon-linux-latest/al2023-ami-minimal-kernel-default-x86_64"), block_devices=[ec2.BlockDevice( device_name="/dev/sda1", volume=ec2.BlockDeviceVolume.ebs(100, encrypted=True, volume_type=ec2.EbsDeviceVolumeType.GENERAL_PURPOSE_SSD_GP3 ) ) ] )
Attributes
- GP2
General Purpose SSD - GP2.
- GP3
General Purpose SSD - GP3.
- IO1
Provisioned IOPS SSD - IO1.
- IO2
Provisioned IOPS SSD - IO2.
- SC1
Cold HDD.
- ST1
Throughput Optimized HDD.
- STANDARD
Magnetic.