From 173a204c5856586e7350f89dd0d254892f239e18 Mon Sep 17 00:00:00 2001 From: yu <77177966+andyu17@users.noreply.github.com> Date: Tue, 14 Jan 2025 05:05:10 +0900 Subject: [PATCH] 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* --- packages/@aws-cdk/aws-ec2-alpha/lib/route.ts | 4 ++-- packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts index 3d2dc4a7c22ee..b6f9eb1ee12e4 100644 --- a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts +++ b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts @@ -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; @@ -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; diff --git a/packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts b/packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts index cff02bacc1e1a..2e6f64caa20d5 100644 --- a/packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts +++ b/packages/@aws-cdk/aws-ec2-alpha/test/vpc-add-method.test.ts @@ -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 }], @@ -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,