{ "$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-association-schema.json", "title": "DirectConnectGatewayAssociation", "description": "Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.", "type": "object", "properties": { "directConnectGatewayId": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayId" }, { "description": "The ID of the Direct Connect gateway." } ] }, "directConnectGatewayOwnerAccount": { "allOf": [ { "$ref": "#/components/schemas/OwnerAccount" }, { "description": "The ID of the Amazon Web Services account that owns the associated gateway." } ] }, "associationState": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayAssociationState" }, { "description": "

The state of the association. 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." } ] }, "associatedGateway": { "allOf": [ { "$ref": "#/components/schemas/AssociatedGateway" }, { "description": "Information about the associated gateway." } ] }, "associationId": { "allOf": [ { "$ref": "#/components/schemas/DirectConnectGatewayAssociationId" }, { "description": "The ID of the Direct Connect gateway association." } ] }, "allowedPrefixesToDirectConnectGateway": { "allOf": [ { "$ref": "#/components/schemas/RouteFilterPrefixList" }, { "description": "The Amazon VPC prefixes to advertise to the Direct Connect gateway." } ] }, "virtualGatewayId": { "allOf": [ { "$ref": "#/components/schemas/VirtualGatewayId" }, { "description": "The ID of the virtual private gateway. Applies only to private virtual interfaces." } ] }, "virtualGatewayRegion": { "allOf": [ { "$ref": "#/components/schemas/VirtualGatewayRegion" }, { "description": "The Amazon Web Services Region where the virtual private gateway is located." } ] }, "virtualGatewayOwnerAccount": { "allOf": [ { "$ref": "#/components/schemas/OwnerAccount" }, { "description": "The ID of the Amazon Web Services account that owns the virtual private gateway." } ] } } }