Skip to content

Commit c125a98

Browse files
authored
chore(eks): update default capacity type from NODEGROUP to AUTOMODE in the doc (#33886)
### Issue # (if applicable) Closes #33884 ### Reason for this change The reason for this change is to correct the default value of the defaultCapacityType property in the AWS CDK's EKS V2 Alpha package. The current documentation incorrectly states that the default value is NODEGROUP, while the actual default value used in the code is AUTOMODE. This can cause confusion and errors for users. ### Description of changes Update the JSDoc comment in the cluster.ts file to correctly reflect that the default value of the `defaultCapacityType` property is `AUTOMODE`. ### Describe any new or updated permissions being added ### Description of how you validated changes ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent b6a15f3 commit c125a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@aws-cdk/aws-eks-v2-alpha/lib/cluster.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ export interface ClusterProps extends ClusterCommonOptions {
580580
/**
581581
* The default capacity type for the cluster.
582582
*
583-
* @default NODEGROUP
583+
* @default AUTOMODE
584584
*/
585585
readonly defaultCapacityType?: DefaultCapacityType;
586586

0 commit comments

Comments
 (0)