interface CfnVPNGatewayRoutePropagationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPNGatewayRoutePropagationProps |
Java | software.amazon.awscdk.services.ec2.CfnVPNGatewayRoutePropagationProps |
Python | aws_cdk.aws_ec2.CfnVPNGatewayRoutePropagationProps |
TypeScript | @aws-cdk/aws-ec2 » CfnVPNGatewayRoutePropagationProps |
Properties for defining a CfnVPNGatewayRoutePropagation
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as ec2 from '@aws-cdk/aws-ec2';
const cfnVPNGatewayRoutePropagationProps: ec2.CfnVPNGatewayRoutePropagationProps = {
routeTableIds: ['routeTableIds'],
vpnGatewayId: 'vpnGatewayId',
};
Properties
Name | Type | Description |
---|---|---|
route | string[] | The ID of the route table. |
vpn | string | The ID of the virtual private gateway that is attached to a VPC. |
routeTableIds
Type:
string[]
The ID of the route table.
The routing table must be associated with the same VPC that the virtual private gateway is attached to.
vpnGatewayId
Type:
string
The ID of the virtual private gateway that is attached to a VPC.
The virtual private gateway must be attached to the same VPC that the routing tables are associated with.