libZSservicesZSamazonka-directconnectZSamazonka-directconnect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Read NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Show 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 #

NFData NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

Methods

rnf :: NewBGPPeer -> () #

Hashable NewBGPPeer Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewBGPPeer

ToJSON 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" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "NewBGPPeer'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "amazonAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "addressFamily") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressFamily)) :*: (S1 ('MetaSel ('Just "asn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "authKey") '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: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.