Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

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

tags

  • Type: Map
  • Required: No

Any tags assigned to the virtual private gateway.

type

  • Type: String
  • Required: Yes

The type of VPN connection the virtual private gateway supports.

Attribute Reference

vpn_gateway_id

  • Type: VpnGatewayId