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

Description

 
Synopsis

Documentation

data NewPrivateVirtualInterface Source #

Information about a private virtual interface.

See: newNewPrivateVirtualInterface smart constructor.

Constructors

NewPrivateVirtualInterface' 

Fields

  • virtualGatewayId :: Maybe Text

    The ID of the virtual private gateway.

  • mtu :: Maybe Int

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

  • customerAddress :: Maybe Text

    The IP address assigned to the customer interface.

  • amazonAddress :: Maybe Text

    The IP address assigned to the Amazon interface.

  • addressFamily :: Maybe AddressFamily

    The address family for the BGP peer.

  • directConnectGatewayId :: Maybe Text

    The ID of the Direct Connect gateway.

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

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

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

Read NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

Show NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

Generic NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

Associated Types

type Rep NewPrivateVirtualInterface :: Type -> Type #

NFData NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

Hashable NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

ToJSON NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

type Rep NewPrivateVirtualInterface Source # 
Instance details

Defined in Amazonka.DirectConnect.Types.NewPrivateVirtualInterface

type Rep NewPrivateVirtualInterface = D1 ('MetaData "NewPrivateVirtualInterface" "Amazonka.DirectConnect.Types.NewPrivateVirtualInterface" "libZSservicesZSamazonka-directconnectZSamazonka-directconnect" 'False) (C1 ('MetaCons "NewPrivateVirtualInterface'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "virtualGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mtu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (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 "directConnectGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "authKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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))))))

newNewPrivateVirtualInterface Source #

Create a value of NewPrivateVirtualInterface 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:virtualGatewayId:NewPrivateVirtualInterface', newPrivateVirtualInterface_virtualGatewayId - The ID of the virtual private gateway.

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

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

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

$sel:addressFamily:NewPrivateVirtualInterface', newPrivateVirtualInterface_addressFamily - The address family for the BGP peer.

$sel:directConnectGatewayId:NewPrivateVirtualInterface', newPrivateVirtualInterface_directConnectGatewayId - The ID of the Direct Connect gateway.

$sel:authKey:NewPrivateVirtualInterface', newPrivateVirtualInterface_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:tags:NewPrivateVirtualInterface', newPrivateVirtualInterface_tags - The tags associated with the private virtual interface.

$sel:virtualInterfaceName:NewPrivateVirtualInterface', newPrivateVirtualInterface_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:NewPrivateVirtualInterface', newPrivateVirtualInterface_vlan - The ID of the VLAN.

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

The valid values are 1-2147483647.

newPrivateVirtualInterface_mtu :: Lens' NewPrivateVirtualInterface (Maybe Int) Source #

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

newPrivateVirtualInterface_customerAddress :: Lens' NewPrivateVirtualInterface (Maybe Text) Source #

The IP address assigned to the customer interface.

newPrivateVirtualInterface_amazonAddress :: Lens' NewPrivateVirtualInterface (Maybe Text) Source #

The IP address assigned to the Amazon interface.

newPrivateVirtualInterface_authKey :: Lens' NewPrivateVirtualInterface (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.

newPrivateVirtualInterface_tags :: Lens' NewPrivateVirtualInterface (Maybe (NonEmpty Tag)) Source #

The tags associated with the private virtual interface.

newPrivateVirtualInterface_virtualInterfaceName :: Lens' NewPrivateVirtualInterface 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 (-).

newPrivateVirtualInterface_asn :: Lens' NewPrivateVirtualInterface Int Source #

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

The valid values are 1-2147483647.