{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-direct-connect/refs/heads/main/json-schema/amazon-direct-connect-direct-connect-gateway-attachment-schema.json", "title": "DirectConnectGatewayAttachment", "description": "Information about an attachment between a Direct Connect gateway and a virtual interface.", "type": "object", "properties": { "directConnectGatewayId": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayId" }, { "description": "The ID of the Direct Connect gateway." } ] }, "virtualInterfaceId": { "allOf": [ { "$ref": "#/components/schemas/VirtualInterfaceId" }, { "description": "The ID of the virtual interface." } ] }, "virtualInterfaceRegion": { "allOf": [ { "$ref": "#/components/schemas/VirtualInterfaceRegion" }, { "description": "The Amazon Web Services Region where the virtual interface is located." } ] }, "virtualInterfaceOwnerAccount": { "allOf": [ { "$ref": "#/components/schemas/OwnerAccount" }, { "description": "The ID of the Amazon Web Services account that owns the virtual interface." } ] }, "attachmentState": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayAttachmentState" }, { "description": "
The state of the attachment. The following are the possible values:
attaching: The initial state after a virtual interface is created using the Direct Connect gateway.
attached: The Direct Connect gateway and virtual interface are attached and ready to pass traffic.
detaching: The initial state after calling DeleteVirtualInterface.
detached: The virtual interface is detached from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual interface is stopped.