CfnVPNConnectionProps

class aws_cdk.aws_ec2.CfnVPNConnectionProps(*, customer_gateway_id, type, static_routes_only=None, tags=None, transit_gateway_id=None, vpn_gateway_id=None, vpn_tunnel_options_specifications=None)

Bases: object

__init__(*, customer_gateway_id, type, static_routes_only=None, tags=None, transit_gateway_id=None, vpn_gateway_id=None, vpn_tunnel_options_specifications=None)

Properties for defining a AWS::EC2::VPNConnection.

Parameters
  • customer_gateway_id (str) – AWS::EC2::VPNConnection.CustomerGatewayId.

  • type (str) – AWS::EC2::VPNConnection.Type.

  • static_routes_only (Union[bool, None, IResolvable]) – AWS::EC2::VPNConnection.StaticRoutesOnly.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::VPNConnection.Tags.

  • transit_gateway_id (Optional[str]) – AWS::EC2::VPNConnection.TransitGatewayId.

  • vpn_gateway_id (Optional[str]) – AWS::EC2::VPNConnection.VpnGatewayId.

  • vpn_tunnel_options_specifications (Union[IResolvable, None, List[Union[IResolvable, VpnTunnelOptionsSpecificationProperty]]]) – AWS::EC2::VPNConnection.VpnTunnelOptionsSpecifications.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html

Attributes

customer_gateway_id

AWS::EC2::VPNConnection.CustomerGatewayId.

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

Return type

str

static_routes_only

AWS::EC2::VPNConnection.StaticRoutesOnly.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection.html#cfn-ec2-vpnconnection-StaticRoutesOnly

Return type

Union[bool, None, IResolvable]

tags

AWS::EC2::VPNConnection.Tags.

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

Return type

Optional[List[CfnTag]]

transit_gateway_id

AWS::EC2::VPNConnection.TransitGatewayId.

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

Return type

Optional[str]

type

AWS::EC2::VPNConnection.Type.

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

Return type

str

vpn_gateway_id

AWS::EC2::VPNConnection.VpnGatewayId.

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

Return type

Optional[str]

vpn_tunnel_options_specifications

AWS::EC2::VPNConnection.VpnTunnelOptionsSpecifications.

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

Return type

Union[IResolvable, None, List[Union[IResolvable, VpnTunnelOptionsSpecificationProperty]]]