MachineImageType

class aws_cdk.aws_eks.MachineImageType(value)

Bases: enum.Enum

The machine image type.

ExampleMetadata

infused

Example:

# cluster: eks.Cluster

cluster.add_auto_scaling_group_capacity("BottlerocketNodes",
    instance_type=ec2.InstanceType("t3.small"),
    min_capacity=2,
    machine_image_type=eks.MachineImageType.BOTTLEROCKET
)

Attributes

AMAZON_LINUX_2

Amazon EKS-optimized Linux AMI.

BOTTLEROCKET

Bottlerocket AMI.