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

Class: Aws::DirectConnect::Types::AllocateTransitVirtualInterfaceRequest

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

{
  connection_id: "ConnectionId", # required
  owner_account: "OwnerAccount", # required
  new_transit_virtual_interface_allocation: { # 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
    tags: [
      {
        key: "TagKey", # required
        value: "TagValue",
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

The ID of the connection on which the transit virtual interface is provisioned.

Returns:

  • (String)


312
313
314
315
316
317
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 312

class AllocateTransitVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_transit_virtual_interface_allocation)
  include Aws::Structure
end

#new_transit_virtual_interface_allocationTypes::NewTransitVirtualInterfaceAllocation

Information about the transit virtual interface.



312
313
314
315
316
317
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 312

class AllocateTransitVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_transit_virtual_interface_allocation)
  include Aws::Structure
end

#owner_accountString

The ID of the AWS account that owns the transit virtual interface.

Returns:

  • (String)


312
313
314
315
316
317
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 312

class AllocateTransitVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_transit_virtual_interface_allocation)
  include Aws::Structure
end