| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.DirectConnect.Types.NewBGPPeer
Description
Synopsis
- data NewBGPPeer = NewBGPPeer' {}
- newNewBGPPeer :: NewBGPPeer
- newBGPPeer_customerAddress :: Lens' NewBGPPeer (Maybe Text)
- newBGPPeer_amazonAddress :: Lens' NewBGPPeer (Maybe Text)
- newBGPPeer_addressFamily :: Lens' NewBGPPeer (Maybe AddressFamily)
- newBGPPeer_asn :: Lens' NewBGPPeer (Maybe Int)
- newBGPPeer_authKey :: Lens' NewBGPPeer (Maybe Text)
Documentation
data NewBGPPeer Source #
Information about a new BGP peer.
See: newNewBGPPeer smart constructor.
Constructors
| NewBGPPeer' | |
Fields
| |
Instances
newNewBGPPeer :: NewBGPPeer Source #
Create a value of NewBGPPeer 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:customerAddress:NewBGPPeer', newBGPPeer_customerAddress - The IP address assigned to the customer interface.
$sel:amazonAddress:NewBGPPeer', newBGPPeer_amazonAddress - The IP address assigned to the Amazon interface.
$sel:addressFamily:NewBGPPeer', newBGPPeer_addressFamily - The address family for the BGP peer.
$sel:asn:NewBGPPeer', newBGPPeer_asn - The autonomous system (AS) number for Border Gateway Protocol (BGP)
configuration.
$sel:authKey:NewBGPPeer', newBGPPeer_authKey - The authentication key for BGP configuration. This string has a minimum
length of 6 characters and and a maximun lenth of 80 characters.
newBGPPeer_customerAddress :: Lens' NewBGPPeer (Maybe Text) Source #
The IP address assigned to the customer interface.
newBGPPeer_amazonAddress :: Lens' NewBGPPeer (Maybe Text) Source #
The IP address assigned to the Amazon interface.
newBGPPeer_addressFamily :: Lens' NewBGPPeer (Maybe AddressFamily) Source #
The address family for the BGP peer.
newBGPPeer_asn :: Lens' NewBGPPeer (Maybe Int) Source #
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
newBGPPeer_authKey :: Lens' NewBGPPeer (Maybe Text) Source #
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.