Creates a hosted public virtual interface for AWS Direct Connect, allowing the allocation of a virtual interface owned by another AWS account.

Terraform Template

resource "aws_dx_hosted_public_virtual_interface" "foo" {
  address_family = "ipv4"
  amazon_address = "175.45.176.2/30"
  bgp_asn = 65352
  connection_id = "dxcon-zzzzzzzz"
  customer_address = "175.45.176.1/30"
  name = "vif-foo"
  route_filter_prefixes = ["210.52.109.0/24", "175.45.176.0/22"]
  vlan = 4094
}