CfnVPNConnectionRouteMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPNConnectionRouteMixinProps(*, destination_cidr_block=None, vpn_connection_id=None)

Bases: object

Properties for CfnVPNConnectionRoutePropsMixin.

Parameters:
  • destination_cidr_block (Optional[str]) – The CIDR block associated with the local subnet of the customer network.

  • vpn_connection_id (Optional[str]) – The ID of the VPN connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_vPNConnection_route_mixin_props = ec2_mixins.CfnVPNConnectionRouteMixinProps(
    destination_cidr_block="destinationCidrBlock",
    vpn_connection_id="vpnConnectionId"
)

Attributes

destination_cidr_block

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-destinationcidrblock

vpn_connection_id

The ID of the VPN connection.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpnconnectionroute.html#cfn-ec2-vpnconnectionroute-vpnconnectionid