From 7fc41d0e6d3e62f02d507bef32ed94fa5516de83 Mon Sep 17 00:00:00 2001 From: shikha372 Date: Mon, 16 Sep 2024 16:41:51 -0700 Subject: [PATCH] remove IRoute extension --- packages/@aws-cdk/aws-ec2-alpha/lib/route.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts index db7fa59dc6820..ebe9f1e6f84db 100644 --- a/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts +++ b/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts @@ -1,6 +1,6 @@ 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 { Annotations, Duration, IResource, Resource } from 'aws-cdk-lib/core'; +import { Construct, IDependable } from 'constructs'; +import { Annotations, Duration, Resource } from 'aws-cdk-lib/core'; import { IVpcV2, VPNGatewayV2Options } from './vpc-v2-base'; import { NetworkUtils, allRouteTableIds } from './util'; import { ISubnetV2 } from './subnet-v2'; @@ -456,7 +456,7 @@ export class RouteTargetType { /** * Interface to define a route. */ -export interface IRoute extends IConstruct, IResource { +export interface IRoute { /** * The ID of the route table for the route. * @attribute routeTable