OptionalamiThis property is used to upgrade node groups to the latest kubelet by upgrading node group AMI. Look up the versions here (mapped to Kubernetes version): https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html
OptionalamiChoose AMI type for the managed node group.
Optional ReadonlyclusterName for the cluster.
OptionaldesiredDesired size, defaults to min size.
Optional ReadonlydiskThe root device disk size (in GiB) for your node group instances.
Optional ReadonlyenableSpecifies whether to enable node auto repair for the node group. Node auto repair is disabled by default.
OptionalenableIf set to true will add AmazonSSMManagedInstanceCore to the node role.
Optional ReadonlyforceForce the update if the existing node group's pods are unable to be drained due to a pod disruption budget issue. If an update fails because pods could not be drained, you can force the update after it fails to terminate the old node whether or not any pods are running on the node.
OptionalidIn this case id is optional and defaults to the cluster name
OptionalinstanceInstance types used for the node group. Multiple types makes sense if capacity type is SPOT.
OptionalisolatedIs the EKS Cluster in isolated subnets?
Optional ReadonlylabelsThe Kubernetes labels to be applied to the nodes in the node group when they are created.
OptionallaunchThe Launch Template properties for the Nodes.
amiType and amiReleaseVersion will be ignored if this is set.
Optional ReadonlylaunchLaunch template specification used for the nodegroup
OptionalmaxMax size of the node group.
Optional ReadonlymaxThe maximum number of nodes unavailable at once during a version update. Nodes will be updated in parallel. The maximum number is 100.
This value or maxUnavailablePercentage is required to have a value for custom update configurations to be applied.
Optional ReadonlymaxThe maximum percentage of nodes unavailable during a version update. This percentage of nodes will be updated in parallel, up to 100 nodes at once.
This value or maxUnavailable is required to have a value for custom update configurations to be applied.
OptionalminMin size of the node group
OptionalnameThe name for the cluster.
OptionalnodeSelect either SPOT or ON-DEMAND
Optional ReadonlynodegroupName of the Nodegroup
OptionalnodeSubnets for the autoscaling group where nodes (instances) will be placed.
OptionalnodeTags for the node group.
Optional ReadonlynodeThe IAM role to associate with your node group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs on your behalf. Worker nodes receive permissions for these API calls through an IAM instance profile and associated policies. Before you can launch worker nodes and register them into a cluster, you must create an IAM role for those worker nodes to use when they are launched.
Optional ReadonlyoutputDetermines whether a CloudFormation output with the name of the cluster will be synthesized.
Optional ReadonlyoutputDetermines whether a CloudFormation output with the aws eks update-kubeconfig command will be synthesized. This command will include
the cluster name and the ARN of the masters IAM role.
Note: If mastersRole is not specified, this property will be ignored and no config command will be emitted.
OptionalprivateIs it a private only EKS Cluster? Defaults to private_and_public cluster, set to true for private cluster
Optional ReadonlyremoteThe remote access (SSH) configuration to use with your node group. Disabled by default, however, if you specify an Amazon EC2 SSH key but do not specify a source security group when you create a managed node group, then port 22 on the worker nodes is opened to the internet (0.0.0.0/0)
Optional ReadonlyroleRole that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
Optional ReadonlysecuritySecurity Group to use for Control Plane ENIs
OptionaltagsTags for the Cluster.
Optional ReadonlytaintsThe Kubernetes taints to be applied to the nodes in the node group when they are created.
Optional ReadonlyversionThe Kubernetes version to run in the cluster
Optional ReadonlyvpcThe VPC in which to create the Cluster.
Optional ReadonlyvpcWhere to place EKS Control Plane ENIs
For example, to only select private subnets, supply the following:
vpcSubnets: [{ subnetType: ec2.SubnetType.PRIVATE_WITH_EGRESS }]
Configuration options for the cluster provider.