interface CfnVPNConnectionRouteProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPNConnectionRouteProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPNConnectionRouteProps |
Java | software.amazon.awscdk.services.ec2.CfnVPNConnectionRouteProps |
Python | aws_cdk.aws_ec2.CfnVPNConnectionRouteProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnVPNConnectionRouteProps |
Properties for defining a CfnVPNConnectionRoute.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPNConnectionRouteProps: ec2.CfnVPNConnectionRouteProps = {
destinationCidrBlock: 'destinationCidrBlock',
vpnConnectionId: 'vpnConnectionId',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The CIDR block associated with the local subnet of the customer network. |
| vpn | string | IVPNConnection | The ID of the VPN connection. |
destinationCidrBlock
Type:
string
The CIDR block associated with the local subnet of the customer network.
vpnConnectionId
Type:
string | IVPNConnection
The ID of the VPN connection.

.NET
Go
Java
Python
TypeScript