Skip to content

Commit 173a204

Browse files
authored
docs(ec2-alpha): fix typos (#32878)
### Issue # (if applicable) None ### Reason for this change Fixed typos in code comments. ### 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 e498572 commit 173a204

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/@aws-cdk/aws-ec2-alpha/lib/route.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export class VPNGatewayV2 extends Resource implements IRouteTarget {
329329
private readonly _attachment: CfnVPCGatewayAttachment;
330330

331331
/**
332-
* The VPN Gateway Route Propogation
332+
* The VPN Gateway Route Propagation
333333
*/
334334
private readonly _routePropagation: CfnVPNGatewayRoutePropagation;
335335

@@ -696,7 +696,7 @@ export class Route extends Resource implements IRouteV2 {
696696
public readonly routeTable: IRouteTable;
697697

698698
/**
699-
* The type of router the route is targetting
699+
* The type of router the route is targeting
700700
*/
701701
public readonly targetRouterType: RouterType;
702702

packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ describe('Vpc V2 with full control', () => {
365365
});
366366
});
367367

368-
test('Check vpngateway has routePropogation for input subnets', () => {
368+
test('Check vpngateway has route Propagation for input subnets', () => {
369369
myVpc.enableVpnGatewayV2({
370370
type: VpnConnectionType.IPSEC_1,
371371
vpnRoutePropagation: [{ subnetType: SubnetType.PUBLIC }],
@@ -382,7 +382,7 @@ describe('Vpc V2 with full control', () => {
382382
});
383383
});
384384

385-
test('Throws error when no subnet identified for route propogation', () => {
385+
test('Throws error when no subnet identified for route propagation', () => {
386386
expect(() => {
387387
myVpc.enableVpnGatewayV2({
388388
type: VpnConnectionType.IPSEC_1,

0 commit comments

Comments
 (0)