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

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, IResolvable, None]) – 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, List[Union[IResolvable, VpnTunnelOptionsSpecificationProperty]], None]) – AWS::EC2::VPNConnection.VpnTunnelOptionsSpecifications.

See

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

Attributes

customer_gateway_id

AWS::EC2::VPNConnection.CustomerGatewayId.

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

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

Return type

Union[bool, IResolvable, None]

tags

AWS::EC2::VPNConnection.Tags.

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

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

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

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

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

Return type

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