EbsDeviceVolumeType

class aws_cdk.aws_autoscaling.EbsDeviceVolumeType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

Supported EBS volume types for blockDevices.

ExampleMetadata:

infused

Example:

# vpc: ec2.Vpc
# instance_type: ec2.InstanceType
# machine_image: ec2.IMachineImage


auto_scaling_group = autoscaling.AutoScalingGroup(self, "ASG",
    vpc=vpc,
    instance_type=instance_type,
    machine_image=machine_image,
    block_devices=[autoscaling.BlockDevice(
        device_name="gp3-volume",
        volume=autoscaling.BlockDeviceVolume.ebs(15,
            volume_type=autoscaling.EbsDeviceVolumeType.GP3,
            throughput=125
        )
    )
    ]
)

Attributes

GP2

General Purpose SSD - GP2.

GP3

General Purpose SSD - GP3.

IO1

Provisioned IOPS SSD - IO1.

SC1

Cold HDD.

ST1

Throughput Optimized HDD.

STANDARD

Magnetic.