Class: Aws::DirectConnect::Types::CreatePrivateVirtualInterfaceRequest

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 CreatePrivateVirtualInterfaceRequest data as a 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

#connection_idString

The ID of the connection.

Returns:

  • (String)


1315
1316
1317
1318
1319
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1315

class CreatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_private_virtual_interface)
  include Aws::Structure
end

#new_private_virtual_interfaceTypes::NewPrivateVirtualInterface

Information about the private virtual interface.



1315
1316
1317
1318
1319
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1315

class CreatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_private_virtual_interface)
  include Aws::Structure
end