amazonka-networkmanager-2.0: Amazon Network Manager 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.NetworkManager.Types.NetworkRoute

Description

 
Synopsis

Documentation

data NetworkRoute Source #

Describes a network route.

See: newNetworkRoute smart constructor.

Constructors

NetworkRoute' 

Fields

Instances

Instances details
FromJSON NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

Generic NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

Associated Types

type Rep NetworkRoute :: Type -> Type #

Read NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

Show NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

NFData NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

Methods

rnf :: NetworkRoute -> () #

Eq NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

Hashable NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

type Rep NetworkRoute Source # 
Instance details

Defined in Amazonka.NetworkManager.Types.NetworkRoute

type Rep NetworkRoute = D1 ('MetaData "NetworkRoute" "Amazonka.NetworkManager.Types.NetworkRoute" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "NetworkRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationCidrBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NetworkRouteDestination]))) :*: (S1 ('MetaSel ('Just "prefixListId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteState)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteType))))))

newNetworkRoute :: NetworkRoute Source #

Create a value of NetworkRoute 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:NetworkRoute', networkRoute_destinationCidrBlock - A unique identifier for the route, such as a CIDR block.

$sel:destinations:NetworkRoute', networkRoute_destinations - The destinations.

$sel:prefixListId:NetworkRoute', networkRoute_prefixListId - The ID of the prefix list.

$sel:state:NetworkRoute', networkRoute_state - The route state. The possible values are active and blackhole.

$sel:type':NetworkRoute', networkRoute_type - The route type. The possible values are propagated and static.

networkRoute_destinationCidrBlock :: Lens' NetworkRoute (Maybe Text) Source #

A unique identifier for the route, such as a CIDR block.

networkRoute_state :: Lens' NetworkRoute (Maybe RouteState) Source #

The route state. The possible values are active and blackhole.

networkRoute_type :: Lens' NetworkRoute (Maybe RouteType) Source #

The route type. The possible values are propagated and static.