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

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
    auth_key: "BGPAuthKey",
    amazon_address: "AmazonAddress",
    customer_address: "CustomerAddress",
    address_family: "ipv4", # accepts ipv4, ipv6
    virtual_gateway_id: "VirtualGatewayId",
    direct_connect_gateway_id: "DirectConnectGatewayId",
  },
}

Container for the parameters to the CreatePrivateVirtualInterface operation.

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

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

Returns:

  • (String)


1155
1156
1157
1158
1159
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1155

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

#new_private_virtual_interfaceTypes::NewPrivateVirtualInterface

Detailed information for the private virtual interface to be created.

Default: None



1155
1156
1157
1158
1159
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1155

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