You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DirectConnect::Types::NewPublicVirtualInterface
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::DirectConnect::Types::NewPublicVirtualInterface
 
- Defined in:
- (unknown)
Overview
When passing NewPublicVirtualInterface as input to an Aws::Client method, you can use a vanilla 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.
Returned by:
Instance Attribute Summary collapse
- 
  
    
      #address_family  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The address family for the BGP peer. 
- 
  
    
      #amazon_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IP address assigned to the Amazon interface. 
- 
  
    
      #asn  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. 
- 
  
    
      #auth_key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The authentication key for BGP configuration. 
- 
  
    
      #customer_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IP address assigned to the customer interface. 
- 
  
    
      #route_filter_prefixes  ⇒ Array<Types::RouteFilterPrefix> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The routes to be advertised to the AWS network in this Region. 
- 
  
    
      #tags  ⇒ Array<Types::Tag> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The tags associated with the public virtual interface. 
- 
  
    
      #virtual_interface_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the virtual interface assigned by the customer network. 
- 
  
    
      #vlan  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the VLAN. 
Instance Attribute Details
#address_family ⇒ String
The address family for the BGP peer.
Possible values:
- ipv4
- ipv6
#amazon_address ⇒ String
The IP address assigned to the Amazon interface.
#asn ⇒ Integer
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
#auth_key ⇒ String
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
#customer_address ⇒ String
The IP address assigned to the customer interface.
#route_filter_prefixes ⇒ Array<Types::RouteFilterPrefix>
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
#tags ⇒ Array<Types::Tag>
The tags associated with the public virtual interface.
#virtual_interface_name ⇒ String
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 (-).
#vlan ⇒ Integer
The ID of the VLAN.