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

Description

 
Synopsis

Documentation

data NewPrivateVirtualInterfaceAllocation Source #

Information about a private virtual interface to be provisioned on a connection.

See: newNewPrivateVirtualInterfaceAllocation smart constructor.

Constructors

NewPrivateVirtualInterfaceAllocation' 

Fields

  • addressFamily :: Maybe AddressFamily

    The address family for the BGP peer.

  • amazonAddress :: Maybe Text

    The IP address assigned to the Amazon interface.

  • authKey :: Maybe Text

    The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

  • customerAddress :: Maybe Text

    The IP address assigned to the customer interface.

  • mtu :: Maybe Int

    The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

  • tags :: Maybe (NonEmpty Tag)

    The tags associated with the private virtual interface.

  • virtualInterfaceName :: Text

    The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

  • vlan :: Int

    The ID of the VLAN.

  • asn :: Int

    The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

    The valid values are 1-2147483647.

Instances

Instances details
ToJSON NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

Generic NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

Read NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

Show NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

NFData NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

Eq NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

Hashable NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

type Rep NewPrivateVirtualInterfaceAllocation Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation

type Rep NewPrivateVirtualInterfaceAllocation = D1 ('MetaData "NewPrivateVirtualInterfaceAllocation" "Amazonka.DirectConnect.Types.NewPrivateVirtualInterfaceAllocation" "amazonka-directconnect-2.0-L3DT8JGnMceEIS37MHoczF" 'False) (C1 ('MetaCons "NewPrivateVirtualInterfaceAllocation'" '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 "authKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customerAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "mtu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag)))) :*: (S1 ('MetaSel ('Just "virtualInterfaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "vlan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "asn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newNewPrivateVirtualInterfaceAllocation Source #

Create a value of NewPrivateVirtualInterfaceAllocation 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:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_addressFamily - The address family for the BGP peer.

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

$sel:authKey:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_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:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_customerAddress - The IP address assigned to the customer interface.

$sel:mtu:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_mtu - The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

$sel:tags:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_tags - The tags associated with the private virtual interface.

$sel:virtualInterfaceName:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_virtualInterfaceName - The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

$sel:vlan:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_vlan - The ID of the VLAN.

$sel:asn:NewPrivateVirtualInterfaceAllocation', newPrivateVirtualInterfaceAllocation_asn - The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.

newPrivateVirtualInterfaceAllocation_authKey :: Lens' NewPrivateVirtualInterfaceAllocation (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.

newPrivateVirtualInterfaceAllocation_mtu :: Lens' NewPrivateVirtualInterfaceAllocation (Maybe Int) Source #

The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

newPrivateVirtualInterfaceAllocation_virtualInterfaceName :: Lens' NewPrivateVirtualInterfaceAllocation Text Source #

The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

newPrivateVirtualInterfaceAllocation_asn :: Lens' NewPrivateVirtualInterfaceAllocation Int Source #

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.