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

Class: Aws::DirectConnect::Types::NewPrivateVirtualInterface

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

Overview

Note:

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

{
  virtual_interface_name: "VirtualInterfaceName", # required
  vlan: 1, # required
  asn: 1, # required
  auth_key: "BGPAuthKey",
  amazon_address: "AmazonAddress",
  customer_address: "CustomerAddress",
  address_family: "ipv4", # accepts ipv4, ipv6
  virtual_gateway_id: "VirtualGatewayId",
  direct_connect_gateway_id: "DirectConnectGatewayId",
}

A structure containing information about a new private virtual interface.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

Indicates the address family for the BGP peer.

  • ipv4: IPv4 address family

  • ipv6: IPv6 address family

Possible values:

  • ipv4
  • ipv6

Returns:

  • (String)

    Indicates the address family for the BGP peer.

    • ipv4: IPv4 address family

    • ipv6: IPv6 address family

    .

#amazon_addressString

IP address assigned to the Amazon interface.

Example: 192.168.1.1/30 or 2001:db8::1/125

Returns:

  • (String)

    IP address assigned to the Amazon interface.

    Example: 192.168.1.1/30 or 2001:db8::1/125

    .

#asnInteger

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

Example: 65000

Returns:

  • (Integer)

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

    Example: 65000

    .

#auth_keyString

The authentication key for BGP configuration.

Example: asdf34example

Returns:

  • (String)

    The authentication key for BGP configuration.

    Example: asdf34example

    .

#customer_addressString

IP address assigned to the customer interface.

Example: 192.168.1.2/30 or 2001:db8::2/125

Returns:

  • (String)

    IP address assigned to the customer interface.

    Example: 192.168.1.2/30 or 2001:db8::2/125

    .

#direct_connect_gateway_idString

The ID of the direct connect gateway.

Example: "abcd1234-dcba-5678-be23-cdef9876ab45"

Returns:

  • (String)

    The ID of the direct connect gateway.

    Example: "abcd1234-dcba-5678-be23-cdef9876ab45"

    .

#virtual_gateway_idString

The ID of the virtual private gateway to a VPC. This only applies to private virtual interfaces.

Example: vgw-123er56

Returns:

  • (String)

    The ID of the virtual private gateway to a VPC.

#virtual_interface_nameString

The name of the virtual interface assigned by the customer.

Example: "My VPC"

Returns:

  • (String)

    The name of the virtual interface assigned by the customer.

    Example: "My VPC"

    .

#vlanInteger

The VLAN ID.

Example: 101

Returns:

  • (Integer)

    The VLAN ID.

    Example: 101

    .