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 |
Synopsis
- data NetworkRoute = NetworkRoute' {}
- newNetworkRoute :: NetworkRoute
- networkRoute_destinationCidrBlock :: Lens' NetworkRoute (Maybe Text)
- networkRoute_destinations :: Lens' NetworkRoute (Maybe [NetworkRouteDestination])
- networkRoute_prefixListId :: Lens' NetworkRoute (Maybe Text)
- networkRoute_state :: Lens' NetworkRoute (Maybe RouteState)
- networkRoute_type :: Lens' NetworkRoute (Maybe RouteType)
Documentation
data NetworkRoute Source #
Describes a network route.
See: newNetworkRoute
smart constructor.
NetworkRoute' | |
|
Instances
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_destinations :: Lens' NetworkRoute (Maybe [NetworkRouteDestination]) Source #
The destinations.
networkRoute_prefixListId :: Lens' NetworkRoute (Maybe Text) Source #
The ID of the prefix list.
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
.