> **Experimental**
>
> `@aws-cdk/aws-ec2-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# IRouteTarget

Interface to define a routing target, such as an egress-only internet gateway or VPC endpoint.

Extends: IRouteTarget
Extends: IDependable
Implemented by: EgressOnlyInternetGateway, InternetGateway, NatGateway, TransitGateway, VPCPeeringConnection, VPNGatewayV2

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/route.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-ec2-alpha/lib/route.ts#L34)

## Properties

- `routerTargetId`: string — The ID of the route target.

- `routerType`: [RouterType](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.RouterType.html) — The type of router used in the route.
