ClientVpnRouteOptions

class aws_cdk.aws_ec2.ClientVpnRouteOptions(*, cidr, target, description=None)

Bases: object

Options for a ClientVpnRoute.

Parameters
  • cidr (str) – 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

  • target (ClientVpnRouteTarget) – The target for the route.

  • description (Optional[str]) – A brief description of the authorization rule. Default: - no description

Attributes

cidr

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

Return type

str

description

A brief description of the authorization rule.

Default
  • no description

Return type

Optional[str]

target

The target for the route.

Return type

ClientVpnRouteTarget