Class: Aws::DirectConnect::Types::CreateBGPPeerRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb

Overview

Note:

When making an API call, you may pass CreateBGPPeerRequest data as a hash:

{
  virtual_interface_id: "VirtualInterfaceId",
  new_bgp_peer: {
    asn: 1,
    auth_key: "BGPAuthKey",
    address_family: "ipv4", # accepts ipv4, ipv6
    amazon_address: "AmazonAddress",
    customer_address: "CustomerAddress",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#new_bgp_peerTypes::NewBGPPeer

Information about the BGP peer.

Returns:



922
923
924
925
926
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 922

class CreateBGPPeerRequest < Struct.new(
  :virtual_interface_id,
  :new_bgp_peer)
  include Aws::Structure
end

#virtual_interface_idString

The ID of the virtual interface.

Returns:

  • (String)


922
923
924
925
926
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 922

class CreateBGPPeerRequest < Struct.new(
  :virtual_interface_id,
  :new_bgp_peer)
  include Aws::Structure
end