You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To connect an already initialized auto-scaling group, use the `cluster.connectAutoScalingGroupCapacity` method:
307
+
To connect an already initialized auto-scaling group, use the `cluster.connectAutoScalingGroupCapacity()` method:
308
308
309
309
```ts
310
310
const asg =newec2.AutoScalingGroup(...);
311
-
cluster.addAutoScalingGroupCapacity(asg);
311
+
cluster.connectAutoScalingGroupCapacity(asg);
312
312
```
313
313
314
314
In both cases, the [cluster security group](https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html#cluster-sg) will be autoamtically attached to
0 commit comments