interface CfnClientVpnRouteMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnClientVpnRouteMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnClientVpnRouteMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnClientVpnRouteMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnClientVpnRouteMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnClientVpnRouteMixinProps |
Properties for CfnClientVpnRoutePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnClientVpnRouteMixinProps: ec2_mixins.CfnClientVpnRouteMixinProps = {
clientVpnEndpointId: 'clientVpnEndpointId',
description: 'description',
destinationCidrBlock: 'destinationCidrBlock',
targetVpcSubnetId: 'targetVpcSubnetId',
};
Properties
| Name | Type | Description |
|---|---|---|
| client | string | The ID of the Client VPN endpoint to which to add the route. |
| description? | string | A brief description of the route. |
| destination | string | The IPv4 address range, in CIDR notation, of the route destination. For example:. |
| target | string | The ID of the subnet through which you want to route traffic. |
clientVpnEndpointId?
Type:
string
(optional)
The ID of the Client VPN endpoint to which to add the route.
description?
Type:
string
(optional)
A brief description of the route.
destinationCidrBlock?
Type:
string
(optional)
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
targetVpcSubnetId?
Type:
string
(optional)
The ID of the subnet through which you want to route traffic.
The specified subnet must be an existing target network of the Client VPN endpoint.
Alternatively, if you're adding a route for the local network, specify local .

.NET
Go
Java
Python
TypeScript