AutoCluster
Source:
src/AWS/EKS/AutoCluster.ts
Creates a working EKS Auto Mode cluster from an existing VPC network.
AutoCluster is the higher-level entry point that composes IAM.Role and
the canonical EKS.Cluster resource so callers can stand up a usable EKS
Auto Mode cluster with just EC2.Network plus this helper.
Creating Auto Mode Clusters
Section titled “Creating Auto Mode Clusters”const network = yield* AWS.EC2.Network("AppNetwork", { cidrBlock: "10.42.0.0/16", availabilityZones: 2, nat: "single",});
const cluster = yield* AWS.EKS.AutoCluster("AppCluster", { network,});