Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- data Route = Route {}
- route :: Val Text -> Val Text -> Route
- rDestinationCidrBlock :: Lens' Route (Val Text)
- rGatewayId :: Lens' Route (Maybe (Val Text))
- rInstanceId :: Lens' Route (Maybe (Val Text))
- rNatGatewayId :: Lens' Route (Maybe (Val Text))
- rNetworkInterfaceId :: Lens' Route (Maybe (Val Text))
- rRouteTableId :: Lens' Route (Val Text)
Documentation
Full data type definition for Route. See route
for a more convenient
constructor.
Route | |
|
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.