stratosphere-0.1.2.1: 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.

Instances

Show Route Source # 

Methods

showsPrec :: Int -> Route -> ShowS #

show :: Route -> String #

showList :: [Route] -> ShowS #

Generic Route Source # 

Associated Types

type Rep Route :: * -> * #

Methods

from :: Route -> Rep Route x #

to :: Rep Route x -> Route #

ToJSON Route Source # 
FromJSON Route Source # 
type Rep Route Source # 
type Rep Route = D1 (MetaData "Route" "Stratosphere.Resources.Route" "stratosphere-0.1.2.1-5untC9f2D1vFh9V3wq6Ua5" False) (C1 (MetaCons "Route" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_routeDestinationCidrBlock") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text))) ((:*:) (S1 (MetaSel (Just Symbol "_routeGatewayId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_routeInstanceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))))) ((:*:) (S1 (MetaSel (Just Symbol "_routeNatGatewayId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_routeNetworkInterfaceId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Val Text)))) (S1 (MetaSel (Just Symbol "_routeRouteTableId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Val Text)))))))

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.