Expand description
Provides a customer gateway inside a VPC. These objects can be connected to VPN gateways via VPN connections, and allow you to establish tunnels between your network and the VPC.
§Example Usage
resources:
main:
type: aws:ec2:CustomerGateway
properties:
bgpAsn: 65000
ipAddress: 172.83.124.10
type: ipsec.1
tags:
Name: main-customer-gateway
§Import
Using pulumi import
, import Customer Gateways using the id
. For example:
$ pulumi import aws:ec2/customerGateway:CustomerGateway main cgw-b4dc3961
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments