Skip to content

Commit

Permalink
docs(ec2-alpha): fix typos (#32878)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
andyu17 authored Jan 13, 2025
1 parent e498572 commit 173a204
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ec2-alpha/lib/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export class VPNGatewayV2 extends Resource implements IRouteTarget {
private readonly _attachment: CfnVPCGatewayAttachment;

/**
* The VPN Gateway Route Propogation
* The VPN Gateway Route Propagation
*/
private readonly _routePropagation: CfnVPNGatewayRoutePropagation;

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

/**
* The type of router the route is targetting
* The type of router the route is targeting
*/
public readonly targetRouterType: RouterType;

Expand Down
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ describe('Vpc V2 with full control', () => {
});
});

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

test('Throws error when no subnet identified for route propogation', () => {
test('Throws error when no subnet identified for route propagation', () => {
expect(() => {
myVpc.enableVpnGatewayV2({
type: VpnConnectionType.IPSEC_1,
Expand Down

0 comments on commit 173a204

Please sign in to comment.