AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

ClientVpnRoute

A client VPN route.

Import

import { ClientVpnRoute } from 'aws-cdk-lib/aws-ec2';

Or use the module namespace:

import * as ec2 from 'aws-cdk-lib/aws-ec2';
// ec2.ClientVpnRoute

Properties

Configuration passed to the constructor as ClientVpnRouteProps.

clientVpnEndpointOptional
IClientVpnEndpoint

The client VPN endpoint to which to add the route.

Default: clientVpnEndpoint is required

3 properties inherited from ClientVpnRouteOptions
cidrRequiredinherited from ClientVpnRouteOptions
string

The IPv4 address range, in CIDR notation, of the route destination. For example: - To add a route for Internet access, enter 0.0.0.0/0 - To add a route for a peered VPC, enter the peered VPC's IPv4 CIDR range - To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection's IPv4 CIDR range - To add a route for the local network, enter the client CIDR range

targetRequiredinherited from ClientVpnRouteOptions
ClientVpnRouteTarget

The target for the route.

descriptionOptionalinherited from ClientVpnRouteOptions
string

A brief description of the authorization rule.

Default: - no description

Get the Amazon EC2 Cheat Sheet

Everything you need to know about Amazon EC2 on one page. HD quality, print-friendly.

Download Free Infographic