aws-cdk-lib.aws_ec2.CfnVPNConnectionRouteProps

interface CfnVPNConnectionRouteProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnVPNConnectionRouteProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPNConnectionRouteProps
Javasoftware.amazon.awscdk.services.ec2.CfnVPNConnectionRouteProps
Pythonaws_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

NameTypeDescription
destinationCidrBlockstringThe CIDR block associated with the local subnet of the customer network.
vpnConnectionIdstringThe ID of the VPN connection.

destinationCidrBlock

Type: string

The CIDR block associated with the local subnet of the customer network.


vpnConnectionId

Type: string

The ID of the VPN connection.