From 789224fbed312f3c929fa38ad18eab9e55313e27 Mon Sep 17 00:00:00 2001 From: shikha372 Date: Tue, 17 Sep 2024 11:06:40 -0700 Subject: [PATCH] remove IRoute extension --- packages/@aws-cdk/aws-ec2-alpha/lib/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts index 2e933739a5b5b..ad098d68cf950 100644 --- a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts +++ b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts @@ -1,5 +1,5 @@ import { CfnEIP, CfnEgressOnlyInternetGateway, CfnInternetGateway, CfnNatGateway, CfnRoute, CfnRouteTable, CfnVPCGatewayAttachment, CfnVPNGateway, CfnVPNGatewayRoutePropagation, GatewayVpcEndpoint, IRouteTable, IVpcEndpoint, RouterType } from 'aws-cdk-lib/aws-ec2'; -import { Construct, IConstruct, IDependable } from 'constructs'; +import { Construct, IDependable } from 'constructs'; import { Annotations, Duration, IResource, Resource } from 'aws-cdk-lib/core'; import { IVpcV2, VPNGatewayV2Options } from './vpc-v2-base'; import { NetworkUtils, allRouteTableIds } from './util'; @@ -456,7 +456,7 @@ export class RouteTargetType { /** * Interface to define a route. */ -export interface IRouteV2 extends IConstruct, IResource { +export interface IRouteV2 extends IResource { /** * The ID of the route table for the route. * @attribute routeTable