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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/aws-sdk-directconnect/types.rb', line 2094

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)


2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/aws-sdk-directconnect/types.rb', line 2094

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)


2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/aws-sdk-directconnect/types.rb', line 2094

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.

Returns:

  • (String)


2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/aws-sdk-directconnect/types.rb', line 2094

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)


2094
2095
2096
2097
2098
2099
2100
2101
# File 'lib/aws-sdk-directconnect/types.rb', line 2094

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