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

Class: Aws::DirectConnect::Types::CreatePublicVirtualInterfaceRequest

  • Object
show all
Defined in:



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

  connection_id: "ConnectionId", # required
  new_public_virtual_interface: { # required
    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
    route_filter_prefixes: [
        cidr: "CIDR",

Container for the parameters to the CreatePublicVirtualInterface operation.

Instance Attribute Summary collapse

Instance Attribute Details


The ID of the connection. This field is also used as the ID type for operations that use multiple connection types (LAG, interconnect, and/or connection).

Example: dxcon-fg5678gh

Default: None


  • (String)

    The ID of the connection.


Detailed information for the public virtual interface to be created.

Default: None