interface VPNConnectionRouteReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.VPNConnectionRouteReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#VPNConnectionRouteReference |
Java | software.amazon.awscdk.services.ec2.VPNConnectionRouteReference |
Python | aws_cdk.aws_ec2.VPNConnectionRouteReference |
TypeScript | aws-cdk-lib » aws_ec2 » VPNConnectionRouteReference |
A reference to a VPNConnectionRoute resource.
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 vPNConnectionRouteReference: ec2.VPNConnectionRouteReference = {
destinationCidrBlock: 'destinationCidrBlock',
vpnConnectionId: 'vpnConnectionId',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination | string | The DestinationCidrBlock of the VPNConnectionRoute resource. |
| vpn | string | The VpnConnectionId of the VPNConnectionRoute resource. |
destinationCidrBlock
Type:
string
The DestinationCidrBlock of the VPNConnectionRoute resource.
vpnConnectionId
Type:
string
The VpnConnectionId of the VPNConnectionRoute resource.

.NET
Go
Java
Python
TypeScript