Class: Aws::DirectConnect::Types::NewBGPPeer

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 NewBGPPeer data as a hash:

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

Information about a new BGP peer.

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

The address family for the BGP peer.

Returns:

  • (String)


2850
2851
2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2850

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  include Aws::Structure
end

#amazon_addressString

The IP address assigned to the Amazon interface.

Returns:

  • (String)


2850
2851
2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2850

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  include Aws::Structure
end

#asnInteger

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

Returns:

  • (Integer)


2850
2851
2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2850

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  include Aws::Structure
end

#auth_keyString

The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

Returns:

  • (String)


2850
2851
2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2850

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  include Aws::Structure
end

#customer_addressString

The IP address assigned to the customer interface.

Returns:

  • (String)


2850
2851
2852
2853
2854
2855
2856
2857
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 2850

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  include Aws::Structure
end