Class: Aws::DirectConnect::Types::CreatePublicVirtualInterfaceRequest

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

{
  connection_id: "ConnectionId", # required
  new_public_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
    route_filter_prefixes: [
      {
        cidr: "CIDR",
      },
    ],
    tags: [
      {
        key: "TagKey", # required
        value: "TagValue",
      },
    ],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#connection_idString

The ID of the connection.

Returns:

  • (String)


1358
1359
1360
1361
1362
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1358

class CreatePublicVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_public_virtual_interface)
  include Aws::Structure
end

#new_public_virtual_interfaceTypes::NewPublicVirtualInterface

Information about the public virtual interface.



1358
1359
1360
1361
1362
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 1358

class CreatePublicVirtualInterfaceRequest < Struct.new(
  :connection_id,
  :new_public_virtual_interface)
  include Aws::Structure
end