Module Values.NewPrivateVirtualInterfaceSource

Information about a private virtual interface.

Sourcetype nonrec t = {
  1. 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 (-).

    *)
  2. vlan : VLAN.t;
    (*

    The ID of the VLAN.

    *)
  3. 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.

    *)
  4. asnLong : LongAsn.t option;
    (*

    The long ASN for a new private 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.

    *)
  5. mtu : MTU.t option;
    (*

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

    *)
  6. 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.

    *)
  7. amazonAddress : AmazonAddress.t option;
    (*

    The IP address assigned to the Amazon interface.

    *)
  8. customerAddress : CustomerAddress.t option;
    (*

    The IP address assigned to the customer interface.

    *)
  9. addressFamily : AddressFamily.t option;
    (*

    The address family for the BGP peer.

    *)
  10. virtualGatewayId : VirtualGatewayId.t option;
    (*

    The ID of the virtual private gateway.

    *)
  11. directConnectGatewayId : DirectConnectGatewayId.t option;
    (*

    The ID of the Direct Connect gateway.

    *)
  12. tags : TagList.t option;
    (*

    The tags associated with the private virtual interface.

    *)
}
Sourceval context_ : string
Sourceval make : ?asn:??? -> ?asnLong:??? -> ?mtu:??? -> ?authKey:??? -> ?amazonAddress:??? -> ?customerAddress:??? -> ?addressFamily:??? -> ?virtualGatewayId:??? -> ?directConnectGatewayId:??? -> ?tags:??? -> ?enableSiteLink:??? -> virtualInterfaceName:VirtualInterfaceName.t -> vlan:VLAN.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of EnableSiteLink.t | `Enum of string | `Integer of VLAN.t | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `Long of LongAsn.t | `String of VirtualInterfaceName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t