Fugue.AWS.EC2.Route.Target

Use the functions in this module to help you construct VPC routes for common types of targets.

Module Members

instance

(Function)

Instance Route Target (Constructor)

Type Signature

 fun (Instance) -> RouteTarget
Argument: inst

An EC2 Instance.

Type: Instance

Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget

internetGateway

(Function)

Internet Gateway Route Target (Constructor)

Type Signature

 fun (InternetGateway) -> RouteTarget
Argument: igw

An Internet Gateway.

Type: InternetGateway

Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget

natGateway

(Function)

NAT Gateway Route Target (Constructor)

Type Signature

 fun (NatGateway) -> RouteTarget
Argument: nat
Type: NatGateway
Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget

networkInterface

(Function)

Network Interface Route Target (Constructor)

Type Signature

 fun (NetworkInterface) -> RouteTarget
Argument: nwi

A Network Interface.

Type: NetworkInterface

Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget

vpcPeeringConnection

(Function)

VPC Peering Connection Route Target (Constructor)

Type Signature

 fun (VpcPeeringConnection) -> RouteTarget
Argument: vpcPeerConn

A VPC Peering Connection.

Type: VpcPeeringConnection

Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget

vpnGateway

(Function)

VPN Gateway Route Target (Constructor)

Type Signature

 fun (VpnGateway) -> RouteTarget
Argument: vpngw

A VPN Gateway.

Type: VpnGateway

Returns:

A Fugue.Core.AWS.EC2.RouteTarget, for use in VPC route tables.

Type: RouteTarget