You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
  },
}

Container for the parameters to the CreateBGPPeer operation.

Instance Attribute Summary collapse

Instance Attribute Details

#new_bgp_peerTypes::NewBGPPeer

Detailed information for the BGP peer to be created.

Default: None

Returns:



813
814
815
816
817
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 813

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

#virtual_interface_idString

The ID of the virtual interface on which the BGP peer will be provisioned.

Example: dxvif-456abc78

Default: None

Returns:

  • (String)


813
814
815
816
817
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 813

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