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.Types.VpnStaticRoute

Description

 
Synopsis

Documentation

data VpnStaticRoute Source #

Describes a static route for a VPN connection.

See: newVpnStaticRoute smart constructor.

Constructors

VpnStaticRoute' 

Fields

Instances

Instances details
FromXML VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

Generic VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

Associated Types

type Rep VpnStaticRoute :: Type -> Type #

Read VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

Show VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

NFData VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

Methods

rnf :: VpnStaticRoute -> () #

Eq VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

Hashable VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

type Rep VpnStaticRoute Source # 
Instance details

Defined in Amazonka.EC2.Types.VpnStaticRoute

type Rep VpnStaticRoute = D1 ('MetaData "VpnStaticRoute" "Amazonka.EC2.Types.VpnStaticRoute" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "VpnStaticRoute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationCidrBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpnStaticRouteSource)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpnState)))))

newVpnStaticRoute :: VpnStaticRoute Source #

Create a value of VpnStaticRoute 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:

$sel:destinationCidrBlock:VpnStaticRoute', vpnStaticRoute_destinationCidrBlock - The CIDR block associated with the local subnet of the customer data center.

$sel:source:VpnStaticRoute', vpnStaticRoute_source - Indicates how the routes were provided.

$sel:state:VpnStaticRoute', vpnStaticRoute_state - The current state of the static route.

vpnStaticRoute_destinationCidrBlock :: Lens' VpnStaticRoute (Maybe Text) Source #

The CIDR block associated with the local subnet of the customer data center.

vpnStaticRoute_source :: Lens' VpnStaticRoute (Maybe VpnStaticRouteSource) Source #

Indicates how the routes were provided.

vpnStaticRoute_state :: Lens' VpnStaticRoute (Maybe VpnState) Source #

The current state of the static route.