Creates a new BGP peer on a specified virtual interface. The BGP peer cannot be in the same address family (IPv4/IPv6) of an existing BGP peer on the virtual interface.
You must create a BGP peer for the corresponding address family in order to access AWS resources that also use that address family.
When creating a IPv6 BGP peer, the Amazon address and customer address fields must be left blank. IPv6 addresses are automatically assigned from Amazon's pool of IPv6 addresses; you cannot specify custom IPv6 addresses.
For a public virtual interface, the Autonomous System Number (ASN) must be private or already whitelisted for the virtual interface.
For PCL this operation is only available in asynchronous form. Please refer to CreateBGPPeerAsync.
public abstract CreateBGPPeerResponse CreateBGPPeer( CreateBGPPeerRequest request )
Container for the necessary parameters to execute the CreateBGPPeer service method.
|DirectConnectClientException||The API was called with invalid parameters. The error message will contain additional details about the cause.|
|DirectConnectServerException||A server-side error occurred during the API call. The error message will contain additional details about the cause.|
Supported in: 4.5, 4.0, 3.5
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms