Fugue.AWS.EC2.CustomerGateway

Table of Contents

Module Members

new

(Function)

new CustomerGateway (Constructor)

Call this constructor to create a new Fugue.Core.AWS.EC2.CustomerGateway.

Example usage:

import Fugue.AWS as AWS
import Fugue.AWS.EC2 as EC2

customerGw: EC2.CustomerGateway.new {
  region: AWS.Us-west-2,
  bgpAsn: 65123,
  ipAddress: "42.42.42.42",
  tags: [AWS.tag("Name", "example-vpn")],
}

Type Signature

 fun { region: Region,
       vpnType: Optional<VpnGatewayType>,
       tags: Optional<List<Tag>>,
       bgpAsn: Int,
       ipAddress: String} -> CustomerGateway
Argument: region

The region in which to create the customer gateway.

Type: Region

Argument: vpnType

The type of vpn connection to support. EC2.Ipsec_1 is currently the only supported value. Defaults to EC2.Ipsec_1.

Type: Optional<VpnGatewayType>

Argument: tags

The AWS tag key-value pairs to associate with the customer gateway. *Mutable.

Type: Optional<List<Tag>>

Argument: bgpAsn

The BGP ASN for your device. Use a value in the private range, 64,512 to 65,534, if your device does not support BGP.

Type: Int

Argument: ipAddress

The IP address of the device. Must be a static, publicly routable address.

Type: String

Returns:

a Fugue.Core.AWS.EC2.CustomerGateway value.

Type: CustomerGateway