CfnVPNConnectionMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPNConnectionMixinProps(*, customer_gateway_id=None, enable_acceleration=None, local_ipv4_network_cidr=None, local_ipv6_network_cidr=None, outside_ip_address_type=None, pre_shared_key_storage=None, remote_ipv4_network_cidr=None, remote_ipv6_network_cidr=None, static_routes_only=None, tags=None, transit_gateway_id=None, transport_transit_gateway_attachment_id=None, tunnel_bandwidth=None, tunnel_inside_ip_version=None, type=None, vpn_concentrator_id=None, vpn_gateway_id=None, vpn_tunnel_options_specifications=None)

Bases: object

Properties for CfnVPNConnectionPropsMixin.

Parameters:
  • customer_gateway_id (Optional[str]) – The ID of the customer gateway at your end of the VPN connection.

  • enable_acceleration (Union[bool, IResolvable, None]) – Indicate whether to enable acceleration for the VPN connection. Default: false

  • local_ipv4_network_cidr (Optional[str]) – The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: 0.0.0.0/0

  • local_ipv6_network_cidr (Optional[str]) – The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection. Default: ::/0

  • outside_ip_address_type (Optional[str]) – The type of IP address assigned to the outside interface of the customer gateway device. Valid values: PrivateIpv4 | PublicIpv4 | Ipv6 Default: PublicIpv4

  • pre_shared_key_storage (Optional[str]) – Describes the storage location for an instance store-backed AMI.

  • remote_ipv4_network_cidr (Optional[str]) – The IPv4 CIDR on the AWS side of the VPN connection. Default: 0.0.0.0/0

  • remote_ipv6_network_cidr (Optional[str]) – The IPv6 CIDR on the AWS side of the VPN connection. Default: ::/0

  • static_routes_only (Union[bool, IResolvable, None]) – Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don’t support BGP. If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify true .

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Any tags assigned to the VPN connection.

  • transit_gateway_id (Optional[str]) – The ID of the transit gateway associated with the VPN connection. You must specify either TransitGatewayId or VpnGatewayId , but not both.

  • transport_transit_gateway_attachment_id (Optional[str]) – The transit gateway attachment ID to use for the VPN tunnel. Required if OutsideIpAddressType is set to PrivateIpv4 .

  • tunnel_bandwidth (Optional[str]) – The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel’s throughput capacity. standard supports up to 1.25 Gbps per tunnel, while large supports up to 5 Gbps per tunnel. The default value is standard . Existing VPN connections without a bandwidth setting will automatically default to standard . Default: - “standard”

  • tunnel_inside_ip_version (Optional[str]) – Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Default: ipv4

  • type (Optional[str]) – The type of VPN connection.

  • vpn_concentrator_id (Optional[str]) – The ID of the VPN concentrator to associate with the VPN connection.

  • vpn_gateway_id (Optional[str]) – The ID of the virtual private gateway at the AWS side of the VPN connection. You must specify either TransitGatewayId or VpnGatewayId , but not both.

  • vpn_tunnel_options_specifications (Union[IResolvable, Sequence[Union[IResolvable, VpnTunnelOptionsSpecificationProperty, Dict[str, Any]]], None]) – The tunnel options for the VPN connection.

See:

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

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# 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_mixin_props = ec2_mixins.CfnVPNConnectionMixinProps(
    customer_gateway_id="customerGatewayId",
    enable_acceleration=False,
    local_ipv4_network_cidr="localIpv4NetworkCidr",
    local_ipv6_network_cidr="localIpv6NetworkCidr",
    outside_ip_address_type="outsideIpAddressType",
    pre_shared_key_storage="preSharedKeyStorage",
    remote_ipv4_network_cidr="remoteIpv4NetworkCidr",
    remote_ipv6_network_cidr="remoteIpv6NetworkCidr",
    static_routes_only=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_gateway_id="transitGatewayId",
    transport_transit_gateway_attachment_id="transportTransitGatewayAttachmentId",
    tunnel_bandwidth="tunnelBandwidth",
    tunnel_inside_ip_version="tunnelInsideIpVersion",
    type="type",
    vpn_concentrator_id="vpnConcentratorId",
    vpn_gateway_id="vpnGatewayId",
    vpn_tunnel_options_specifications=[ec2_mixins.CfnVPNConnectionPropsMixin.VpnTunnelOptionsSpecificationProperty(
        dpd_timeout_action="dpdTimeoutAction",
        dpd_timeout_seconds=123,
        enable_tunnel_lifecycle_control=False,
        ike_versions=[{
            "value": "value"
        }],
        log_options=ec2_mixins.CfnVPNConnectionPropsMixin.VpnTunnelLogOptionsSpecificationProperty(
            cloudwatch_log_options=ec2_mixins.CfnVPNConnectionPropsMixin.CloudwatchLogOptionsSpecificationProperty(
                bgp_log_enabled=False,
                bgp_log_group_arn="bgpLogGroupArn",
                bgp_log_output_format="bgpLogOutputFormat",
                log_enabled=False,
                log_group_arn="logGroupArn",
                log_output_format="logOutputFormat"
            )
        ),
        phase1_dh_group_numbers=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase1DHGroupNumbersRequestListValueProperty(
            value=123
        )],
        phase1_encryption_algorithms=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase1EncryptionAlgorithmsRequestListValueProperty(
            value="value"
        )],
        phase1_integrity_algorithms=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase1IntegrityAlgorithmsRequestListValueProperty(
            value="value"
        )],
        phase1_lifetime_seconds=123,
        phase2_dh_group_numbers=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase2DHGroupNumbersRequestListValueProperty(
            value=123
        )],
        phase2_encryption_algorithms=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase2EncryptionAlgorithmsRequestListValueProperty(
            value="value"
        )],
        phase2_integrity_algorithms=[ec2_mixins.CfnVPNConnectionPropsMixin.Phase2IntegrityAlgorithmsRequestListValueProperty(
            value="value"
        )],
        phase2_lifetime_seconds=123,
        pre_shared_key="preSharedKey",
        rekey_fuzz_percentage=123,
        rekey_margin_time_seconds=123,
        replay_window_size=123,
        startup_action="startupAction",
        tunnel_inside_cidr="tunnelInsideCidr",
        tunnel_inside_ipv6_cidr="tunnelInsideIpv6Cidr"
    )]
)

Attributes

customer_gateway_id

The ID of the customer gateway at your end of the VPN connection.

See:

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

enable_acceleration

Indicate whether to enable acceleration for the VPN connection.

Default: false

See:

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

local_ipv4_network_cidr

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: 0.0.0.0/0

See:

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

local_ipv6_network_cidr

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: ::/0

See:

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

outside_ip_address_type

The type of IP address assigned to the outside interface of the customer gateway device.

Valid values: PrivateIpv4 | PublicIpv4 | Ipv6

Default: PublicIpv4

See:

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

pre_shared_key_storage

Describes the storage location for an instance store-backed AMI.

See:

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

remote_ipv4_network_cidr

The IPv4 CIDR on the AWS side of the VPN connection.

Default: 0.0.0.0/0

See:

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

remote_ipv6_network_cidr

The IPv6 CIDR on the AWS side of the VPN connection.

Default: ::/0

See:

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

static_routes_only

Indicates whether the VPN connection uses static routes only.

Static routes must be used for devices that don’t support BGP.

If you are creating a VPN connection for a device that does not support Border Gateway Protocol (BGP), you must specify true .

See:

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

tags

Any tags assigned to the VPN connection.

See:

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

transit_gateway_id

The ID of the transit gateway associated with the VPN connection.

You must specify either TransitGatewayId or VpnGatewayId , but not both.

See:

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

transport_transit_gateway_attachment_id

The transit gateway attachment ID to use for the VPN tunnel.

Required if OutsideIpAddressType is set to PrivateIpv4 .

See:

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

tunnel_bandwidth

The desired bandwidth specification for the VPN tunnel, used when creating or modifying VPN connection options to set the tunnel’s throughput capacity.

standard supports up to 1.25 Gbps per tunnel, while large supports up to 5 Gbps per tunnel. The default value is standard . Existing VPN connections without a bandwidth setting will automatically default to standard .

Default:
  • “standard”

See:

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

tunnel_inside_ip_version

Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.

Default: ipv4

See:

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

type

The type of VPN connection.

See:

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

vpn_concentrator_id

The ID of the VPN concentrator to associate with the VPN connection.

See:

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

vpn_gateway_id

The ID of the virtual private gateway at the AWS side of the VPN connection.

You must specify either TransitGatewayId or VpnGatewayId , but not both.

See:

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

vpn_tunnel_options_specifications

The tunnel options for the VPN connection.

See:

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