{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-direct-connect/refs/heads/main/json-structure/amazon-direct-connect-virtual-interface-structure.json",
"description": "Information about a virtual interface.",
"type": "object",
"properties": {
"ownerAccount": {
"allOf": [
{
"$ref": "#/components/schemas/OwnerAccount"
},
{
"description": "The ID of the Amazon Web Services account that owns the virtual interface."
}
]
},
"virtualInterfaceId": {
"allOf": [
{
"$ref": "#/components/schemas/VirtualInterfaceId"
},
{
"description": "The ID of the virtual interface."
}
]
},
"location": {
"allOf": [
{
"$ref": "#/components/schemas/LocationCode"
},
{
"description": "The location of the connection."
}
]
},
"connectionId": {
"allOf": [
{
"$ref": "#/components/schemas/ConnectionId"
},
{
"description": "The ID of the connection."
}
]
},
"virtualInterfaceType": {
"allOf": [
{
"$ref": "#/components/schemas/VirtualInterfaceType"
},
{
"description": "The type of virtual interface. The possible values are private and public."
}
]
},
"virtualInterfaceName": {
"allOf": [
{
"$ref": "#/components/schemas/VirtualInterfaceName"
},
{
"description": "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": {
"allOf": [
{
"$ref": "#/components/schemas/VLAN"
},
{
"description": "The ID of the VLAN."
}
]
},
"asn": {
"allOf": [
{
"$ref": "#/components/schemas/ASN"
},
{
"description": "
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
The valid values are 1-2147483647.
" } ] }, "amazonSideAsn": { "allOf": [ { "$ref": "#/components/schemas/LongAsn" }, { "description": "The autonomous system number (ASN) for the Amazon side of the connection." } ] }, "authKey": { "allOf": [ { "$ref": "#/components/schemas/BGPAuthKey" }, { "description": "The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters." } ] }, "amazonAddress": { "allOf": [ { "$ref": "#/components/schemas/AmazonAddress" }, { "description": "The IP address assigned to the Amazon interface." } ] }, "customerAddress": { "allOf": [ { "$ref": "#/components/schemas/CustomerAddress" }, { "description": "The IP address assigned to the customer interface." } ] }, "addressFamily": { "allOf": [ { "$ref": "#/components/schemas/AddressFamily" }, { "description": "The address family for the BGP peer." } ] }, "virtualInterfaceState": { "allOf": [ { "$ref": "#/components/schemas/VirtualInterfaceState" }, { "description": "The state of the virtual interface. The following are the possible values:
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
available: A virtual interface that is able to forward traffic.
down: A virtual interface that is BGP down.
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
deleted: A virtual interface that cannot forward traffic.
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the Confirming state is deleted by the virtual interface owner, the virtual interface enters the Rejected state.
unknown: The state of the virtual interface is not available.