AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing NewBGPPeer as input to an Aws::Client method, you can use a vanilla Hash:

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

Information about a new BGP peer.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

The address family for the BGP peer.

Possible values:

  • ipv4
  • ipv6

Returns:

  • (String)

    The address family for the BGP peer.

#amazon_addressString

The IP address assigned to the Amazon interface.

Returns:

  • (String)

    The IP address assigned to the Amazon interface.

#asnInteger

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

Returns:

  • (Integer)

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

#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)

    The authentication key for BGP configuration.

#customer_addressString

The IP address assigned to the customer interface.

Returns:

  • (String)

    The IP address assigned to the customer interface.