Skip to content

Commit 204b325

Browse files
committed
Merge branch 'epolon/self-managed-cluster-sg' of github.com:aws/aws-cdk into epolon/self-managed-cluster-sg
2 parents be7f488 + 5a4e271 commit 204b325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@aws-cdk/aws-eks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,11 @@ cluster.addAutoScalingGroupCapacity('frontend-nodes', {
304304
});
305305
```
306306

307-
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:
308308

309309
```ts
310310
const asg = new ec2.AutoScalingGroup(...);
311-
cluster.addAutoScalingGroupCapacity(asg);
311+
cluster.connectAutoScalingGroupCapacity(asg);
312312
```
313313

314314
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

Comments
 (0)