| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.
Synopsis
- data CreateVpnConnectionRoute = CreateVpnConnectionRoute' {}
- newCreateVpnConnectionRoute :: Text -> Text -> CreateVpnConnectionRoute
- createVpnConnectionRoute_destinationCidrBlock :: Lens' CreateVpnConnectionRoute Text
- createVpnConnectionRoute_vpnConnectionId :: Lens' CreateVpnConnectionRoute Text
- data CreateVpnConnectionRouteResponse = CreateVpnConnectionRouteResponse' {
- newCreateVpnConnectionRouteResponse :: CreateVpnConnectionRouteResponse
Creating a Request
data CreateVpnConnectionRoute Source #
Contains the parameters for CreateVpnConnectionRoute.
See: newCreateVpnConnectionRoute smart constructor.
Constructors
| CreateVpnConnectionRoute' | |
Fields
| |
Instances
newCreateVpnConnectionRoute Source #
Create a value of CreateVpnConnectionRoute with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateVpnConnectionRoute, createVpnConnectionRoute_destinationCidrBlock - The CIDR block associated with the local subnet of the customer network.
CreateVpnConnectionRoute, createVpnConnectionRoute_vpnConnectionId - The ID of the VPN connection.
Request Lenses
createVpnConnectionRoute_destinationCidrBlock :: Lens' CreateVpnConnectionRoute Text Source #
The CIDR block associated with the local subnet of the customer network.
createVpnConnectionRoute_vpnConnectionId :: Lens' CreateVpnConnectionRoute Text Source #
The ID of the VPN connection.
Destructuring the Response
data CreateVpnConnectionRouteResponse Source #
See: newCreateVpnConnectionRouteResponse smart constructor.
Constructors
| CreateVpnConnectionRouteResponse' | |
Instances
| Generic CreateVpnConnectionRouteResponse Source # | |
Defined in Amazonka.EC2.CreateVpnConnectionRoute Associated Types type Rep CreateVpnConnectionRouteResponse :: Type -> Type # | |
| Read CreateVpnConnectionRouteResponse Source # | |
| Show CreateVpnConnectionRouteResponse Source # | |
Defined in Amazonka.EC2.CreateVpnConnectionRoute Methods showsPrec :: Int -> CreateVpnConnectionRouteResponse -> ShowS # | |
| NFData CreateVpnConnectionRouteResponse Source # | |
Defined in Amazonka.EC2.CreateVpnConnectionRoute Methods rnf :: CreateVpnConnectionRouteResponse -> () # | |
| Eq CreateVpnConnectionRouteResponse Source # | |
| type Rep CreateVpnConnectionRouteResponse Source # | |
Defined in Amazonka.EC2.CreateVpnConnectionRoute | |
newCreateVpnConnectionRouteResponse :: CreateVpnConnectionRouteResponse Source #
Create a value of CreateVpnConnectionRouteResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.