amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data CreateVpnConnectionRoute Source #

Contains the parameters for CreateVpnConnectionRoute.

See: newCreateVpnConnectionRoute smart constructor.

Constructors

CreateVpnConnectionRoute' 

Fields

Instances

Instances details
ToHeaders CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

ToPath CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

ToQuery CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

AWSRequest CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Generic CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Associated Types

type Rep CreateVpnConnectionRoute :: Type -> Type #

Read CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Show CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

NFData CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Eq CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Hashable CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

type AWSResponse CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

type Rep CreateVpnConnectionRoute Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

type Rep CreateVpnConnectionRoute = D1 ('MetaData "CreateVpnConnectionRoute" "Amazonka.EC2.CreateVpnConnectionRoute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateVpnConnectionRoute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationCidrBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vpnConnectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Destructuring the Response

data CreateVpnConnectionRouteResponse Source #

See: newCreateVpnConnectionRouteResponse smart constructor.

Instances

Instances details
Generic CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Associated Types

type Rep CreateVpnConnectionRouteResponse :: Type -> Type #

Read CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Show CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

NFData CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

Eq CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

type Rep CreateVpnConnectionRouteResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateVpnConnectionRoute

type Rep CreateVpnConnectionRouteResponse = D1 ('MetaData "CreateVpnConnectionRouteResponse" "Amazonka.EC2.CreateVpnConnectionRoute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateVpnConnectionRouteResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newCreateVpnConnectionRouteResponse :: CreateVpnConnectionRouteResponse Source #

Create a value of CreateVpnConnectionRouteResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.