Class: Aws::DirectConnect::Types::CreateTransitVirtualInterfaceRequest

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 CreateTransitVirtualInterfaceRequest data as a hash:

{
  connection_id: "ConnectionId", # required
  new_transit_virtual_interface: { # required
    virtual_interface_name: "VirtualInterfaceName",
    vlan: 1,
    asn: 1,
    mtu: 1,
    auth_key: "BGPAuthKey",
    amazon_address: "AmazonAddress",
    customer_address: "CustomerAddress",
    address_family: "ipv4", # accepts ipv4, ipv6
    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)


1398
1399
1400
1401
1402
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1398

class CreateTransitVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_transit_virtual_interface)
  include Aws::Structure
end

#new_transit_virtual_interfaceTypes::NewTransitVirtualInterface

Information about the transit virtual interface.



1398
1399
1400
1401
1402
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1398

class CreateTransitVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_transit_virtual_interface)
  include Aws::Structure
end