Class: Aws::DirectConnect::Types::NewPublicVirtualInterfaceAllocation

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

{
  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",
    },
  ],
}

Information about a public virtual interface to be provisioned on a connection.

Instance Attribute Summary collapse

Instance Attribute Details

#address_familyString

The address family for the BGP peer.

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#amazon_addressString

The IP address assigned to the Amazon interface.

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#asnInteger

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

The valid values are 1-2147483647.

Returns:

  • (Integer)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#auth_keyString

The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#customer_addressString

The IP address assigned to the customer interface.

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#route_filter_prefixesArray<Types::RouteFilterPrefix>

The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.

Returns:



3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags associated with the public virtual interface.

Returns:



3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#virtual_interface_nameString

The name of the virtual interface assigned by the customer network. The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).

Returns:

  • (String)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end

#vlanInteger

The ID of the VLAN.

Returns:

  • (Integer)


3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
# File 'gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/types.rb', line 3263

class NewPublicVirtualInterfaceAllocation < Struct.new(
  :virtual_interface_name,
  :vlan,
  :asn,
  :auth_key,
  :amazon_address,
  :customer_address,
  :address_family,
  :route_filter_prefixes,
  :tags)
  include Aws::Structure
end