| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EC2.CreateVPNConnectionRoute
Description
Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.
For more information about VPN connections, see Adding a Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
See: AWS API Reference for CreateVPNConnectionRoute.
- createVPNConnectionRoute :: Text -> Text -> CreateVPNConnectionRoute
- data CreateVPNConnectionRoute
- cvcrVPNConnectionId :: Lens' CreateVPNConnectionRoute Text
- cvcrDestinationCIdRBlock :: Lens' CreateVPNConnectionRoute Text
- createVPNConnectionRouteResponse :: CreateVPNConnectionRouteResponse
- data CreateVPNConnectionRouteResponse
Creating a Request
createVPNConnectionRoute Source
Creates a value of CreateVPNConnectionRoute with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateVPNConnectionRoute Source
See: createVPNConnectionRoute smart constructor.
Instances
Request Lenses
cvcrVPNConnectionId :: Lens' CreateVPNConnectionRoute Text Source
The ID of the VPN connection.
cvcrDestinationCIdRBlock :: Lens' CreateVPNConnectionRoute Text Source
The CIDR block associated with the local subnet of the customer network.
Destructuring the Response
createVPNConnectionRouteResponse :: CreateVPNConnectionRouteResponse Source
Creates a value of CreateVPNConnectionRouteResponse with the minimum fields required to make a request.
data CreateVPNConnectionRouteResponse Source
See: createVPNConnectionRouteResponse smart constructor.