amazonka-directconnect-2.0: Amazon Direct Connect 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.DirectConnect.Types.NewBGPPeer

Description

 
Synopsis

Documentation

data NewBGPPeer Source #

Information about a new BGP peer.

See: newNewBGPPeer smart constructor.

Constructors

NewBGPPeer' 

Fields

Instances

Instances details
ToJSON NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Generic NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Associated Types

type Rep NewBGPPeer :: Type -> Type #

Read NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Show NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

NFData NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Methods

rnf :: NewBGPPeer -> () #

Eq NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Hashable NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

type Rep NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

type Rep NewBGPPeer = D1 ('MetaData "NewBGPPeer" "Amazonka.DirectConnect.Types.NewBGPPeer" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "NewBGPPeer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addressFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressFamily)) :*: S1 ('MetaSel ('Just "amazonAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "asn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "authKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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:addressFamily:NewBGPPeer', newBGPPeer_addressFamily - The address family for the BGP peer.

$sel:amazonAddress:NewBGPPeer', newBGPPeer_amazonAddress - The IP address assigned to the Amazon interface.

$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.

$sel:customerAddress:NewBGPPeer', newBGPPeer_customerAddress - The IP address assigned to the customer interface.

newBGPPeer_addressFamily :: Lens' NewBGPPeer (Maybe AddressFamily) Source #

The address family for the BGP peer.

newBGPPeer_amazonAddress :: Lens' NewBGPPeer (Maybe Text) Source #

The IP address assigned to the Amazon interface.

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.

newBGPPeer_customerAddress :: Lens' NewBGPPeer (Maybe Text) Source #

The IP address assigned to the customer interface.