Values.NewPublicVirtualInterfaceAllocationSourceInformation about a public virtual interface to be provisioned on a connection.
type nonrec t = {virtualInterfaceName : VirtualInterfaceName.t;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 : VLAN.t;The ID of the VLAN.
*)asn : ASN.t option;The autonomous system number (ASN). The valid range is from 1 to 2147483646 for Border Gateway Protocol (BGP) configuration. If you provide a number greater than the maximum, an error is returned. Use asnLong instead. You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers. The asnLong attribute accepts both ASN and long ASN ranges. If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong. The valid values are 1-2147483646.
*)asnLong : LongAsn.t option;The ASN when allocating a new public virtual interface. The valid range is from 1 to 4294967294 for BGP configuration. You can use asnLong or asn, but not both. We recommend using asnLong as it supports a greater pool of numbers. The asnLong attribute accepts both ASN and long ASN ranges. If you provide a value in the same API call for both asn and asnLong, the API will only accept the value for asnLong.
*)authKey : BGPAuthKey.t option;The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
*)amazonAddress : AmazonAddress.t option;The IP address assigned to the Amazon interface.
*)customerAddress : CustomerAddress.t option;The IP address assigned to the customer interface.
*)addressFamily : AddressFamily.t option;The address family for the BGP peer.
*)routeFilterPrefixes : RouteFilterPrefixList.t option;The routes to be advertised to the Amazon Web Services network in this Region. Applies to public virtual interfaces.
*)}val make :
?asn:??? ->
?asnLong:??? ->
?authKey:??? ->
?amazonAddress:??? ->
?customerAddress:??? ->
?addressFamily:??? ->
?routeFilterPrefixes:??? ->
?tags:??? ->
virtualInterfaceName:VirtualInterfaceName.t ->
vlan:VLAN.t ->
unit ->
t