stratosphere-0.1.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.Route

Description

Creates a new route in a route table within a VPC. The route's target can be either a gateway attached to the VPC or a NAT instance in the VPC.

Synopsis

Documentation

data Route Source

Full data type definition for Route. See route for a more convenient constructor.

route Source

Constructor for Route containing required fields as arguments.

rDestinationCidrBlock :: Lens' Route (Val Text) Source

The CIDR address block used for the destination match. For example, 0.0.0.0/0. Routing decisions are based on the most specific match.

rGatewayId :: Lens' Route (Maybe (Val Text)) Source

The ID of an Internet gateway or virtual private gateway that is attached to your VPC. For example: igw-eaad4883. For route entries that specify a gateway, you must specify a dependency on the gateway attachment resource. For more information, see DependsOn Attribute.

rInstanceId :: Lens' Route (Maybe (Val Text)) Source

The ID of a NAT instance in your VPC. For example, i-1a2b3c4d.

rNatGatewayId :: Lens' Route (Maybe (Val Text)) Source

The ID of a NAT gateway. For example, nat-0a12bc456789de0fg.

rNetworkInterfaceId :: Lens' Route (Maybe (Val Text)) Source

Allows the routing of network interface IDs.

rRouteTableId :: Lens' Route (Val Text) Source

The ID of the route table where the route will be added.