DefaultCapacityType

class aws_cdk.aws_eks.DefaultCapacityType(value)

Bases: enum.Enum

The default capacity type for the cluster.

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.