DefaultCapacityType

class aws_cdk.aws_eks.DefaultCapacityType(value)

Bases: Enum

The default capacity type for the cluster.

ExampleMetadata:

infused

Example:

cluster = eks.Cluster(self, "HelloEKS",
    version=eks.KubernetesVersion.V1_21,
    default_capacity_type=eks.DefaultCapacityType.EC2
)

Attributes

EC2

EC2 autoscaling group.

NODEGROUP

managed node group.