NetworkConfig / CustomerGatewayConfig

Customer Gateway (CGW) Configuration. Use this configuration to define Customer Gateways and site-to-site VPN connections. A customer gateway device is a physical or software appliance that you own or manage in your on-premises network (on your side of a Site-to-Site VPN connection). A VPN connection refers to the connection between your VPC and your own on-premises network.

Example

customerGateways:
- name: accelerator-cgw
account: Network
region: *HOME_REGION
ipAddress: 1.1.1.1
asn: 65500
vpnConnections:
- name: accelerator-vpn
transitGateway: Network-Main
routeTableAssociations:
- Network-Main-Core
routeTablePropagations:
- Network-Main-Core
staticRoutesOnly: false
tunnelSpecifications:
- tunnelInsideCidr: 169.254.200.0/30
preSharedKey: Key1-AbcXyz
- tunnelInsideCidr: 169.254.200.100/30
preSharedKey: Key2-AbcXyz

Hierarchy

  • CustomerGatewayConfig

Implements

Constructors

Properties

account: string = ''

The logical name of the account to deploy the Customer Gateway to. This value should match the name of the account recorded in the accounts-config.yaml file.

asn: number = 65000

Define the ASN used for the Customer Gateway

Remarks

CAUTION: Changing this property value after initial deployment causes the VPN to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

The private ASN range is 64512 to 65534. The default is 65000.

ipAddress: string = ''

Defines the IP address of the Customer Gateway

Remarks

CAUTION: Changing this property value after initial deployment causes the VPN to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

name: string = ''

The name of the CGW.

The value of this property will be utilized as the logical id for this resource. Any references to this object should specify this value.

Remarks

CAUTION: Changing this property value after initial deployment causes the VPN to be recreated. Please be aware that any downstream dependencies may cause this property update to fail.

region: "af-south-1" | "ap-east-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "cn-north-1" | "cn-northwest-1" | "eu-central-2" | "ap-south-2" | "us-gov-west-1" | "us-gov-east-1" | "us-iso-east-1" | "us-iso-west-1" | "us-isob-east-1" | "ap-southeast-4" = 'us-east-1'

The AWS region to provision the customer gateway in

tags: undefined | Tag[] = undefined

Define tags for the Customer Gateway

vpnConnections: undefined | VpnConnectionConfig[] = undefined

Define the optional VPN Connection configuration

See

VpnConnectionConfig

Generated using TypeDoc