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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

The address family for the BGP peer.

Returns:

  • (String)


3011
3012
3013
3014
3015
3016
3017
3018
3019
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3011

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

#amazon_addressString

The IP address assigned to the Amazon interface.

Returns:

  • (String)


3011
3012
3013
3014
3015
3016
3017
3018
3019
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3011

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

#asnInteger

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

Returns:

  • (Integer)


3011
3012
3013
3014
3015
3016
3017
3018
3019
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3011

class NewBGPPeer < Struct.new(
  :asn,
  :auth_key,
  :address_family,
  :amazon_address,
  :customer_address)
  SENSITIVE = []
  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)


3011
3012
3013
3014
3015
3016
3017
3018
3019
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3011

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

#customer_addressString

The IP address assigned to the customer interface.

Returns:

  • (String)


3011
3012
3013
3014
3015
3016
3017
3018
3019
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3011

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