Class: Aws::DirectConnect::Types::AllocatePrivateVirtualInterfaceRequest

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

{
  connection_id: "ConnectionId", # required
  owner_account: "OwnerAccount", # required
  new_private_virtual_interface_allocation: { # required
    virtual_interface_name: "VirtualInterfaceName", # required
    vlan: 1, # required
    asn: 1, # required
    mtu: 1,
    auth_key: "BGPAuthKey",
    amazon_address: "AmazonAddress",
    address_family: "ipv4", # accepts ipv4, ipv6
    customer_address: "CustomerAddress",
    tags: [
      {
        key: "TagKey", # required
        value: "TagValue",
      },
    ],
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

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

Returns:

  • (String)


222
223
224
225
226
227
228
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 222

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  SENSITIVE = []
  include Aws::Structure
end

#new_private_virtual_interface_allocationTypes::NewPrivateVirtualInterfaceAllocation

Information about the private virtual interface.



222
223
224
225
226
227
228
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 222

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  SENSITIVE = []
  include Aws::Structure
end

#owner_accountString

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

Returns:

  • (String)


222
223
224
225
226
227
228
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 222

class AllocatePrivateVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :owner_account,
  :new_private_virtual_interface_allocation)
  SENSITIVE = []
  include Aws::Structure
end