Skip to content

awscc.ec2.vpn_gateway

CloudFormation Type: AWS::EC2::VPNGateway

Specifies a virtual private gateway. A virtual private gateway is the endpoint on the VPC side of your VPN connection. You can create a virtual private gateway before creating the VPC itself. For more information, see in the User Guide.

Example

awscc.ec2.vpn_gateway {
type = awscc.ec2.vpn_gateway.Type.ipsec.1
tags = {
Environment = 'example'
}
}

Argument Reference

amazon_side_asn

  • Type: Int(1..=4294967294)
  • Required: No
  • Create-only: Yes

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

tags

  • Type: Map(String)
  • Required: No

Any tags assigned to the virtual private gateway.

type

  • Type: String
  • Required: Yes
  • Create-only: Yes

The type of VPN connection the virtual private gateway supports.

Attribute Reference

vpn_gateway_id

  • Type: VpnGatewayId