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::CreatePrivateVirtualInterfaceRequest

  • Object
show all
Defined in:



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

  connection_id: "ConnectionId", # required
  new_private_virtual_interface: { # required
    virtual_interface_name: "VirtualInterfaceName", # required
    vlan: 1, # required
    asn: 1, # required
    mtu: 1,
    auth_key: "BGPAuthKey",
    amazon_address: "AmazonAddress",
    customer_address: "CustomerAddress",
    address_family: "ipv4", # accepts ipv4, ipv6
    virtual_gateway_id: "VirtualGatewayId",
    direct_connect_gateway_id: "DirectConnectGatewayId",
    tags: [
        key: "TagKey", # required
        value: "TagValue",

Instance Attribute Summary collapse

Instance Attribute Details


The ID of the connection.


  • (String)

    The ID of the connection.


Information about the private virtual interface.