{ "$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-schema.json", "title": "DirectConnectGateway", "description": "Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.", "type": "object", "properties": { "directConnectGatewayId": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayId" }, { "description": "The ID of the Direct Connect gateway." } ] }, "directConnectGatewayName": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayName" }, { "description": "The name of the Direct Connect gateway." } ] }, "amazonSideAsn": { "allOf": [ { "$ref": "#/components/schemas/LongAsn" }, { "description": "The autonomous system number (ASN) for the Amazon side of the connection." } ] }, "ownerAccount": { "allOf": [ { "$ref": "#/components/schemas/OwnerAccount" }, { "description": "The ID of the Amazon Web Services account that owns the Direct Connect gateway." } ] }, "directConnectGatewayState": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayState" }, { "description": "

The state of the Direct Connect gateway. The following are the possible values:

" } ] }, "stateChangeError": { "allOf": [ { "$ref": "#/components/schemas/StateChangeError" }, { "description": "The error message if the state of an object failed to advance." } ] } } }