Create a transit gateway and AWS Direct Connect association proposal
If you own the transit gateway, you must create the association proposal. The transit gateway must be attached to a VPC or VPN in your AWS account. The owner of the Direct Connect gateway must share the ID of the Direct Connect gateway and the ID of its AWS account. After you create the proposal, the owner of the Direct Connect gateway must accept it in order for you to gain access to the on-premises network over AWS Direct Connect. You can create an association proposal using either the AWS Direct Connect console or using the command line or API.
To create an association proposal
Open the AWS Direct Connect console at https://console.aws.amazon.com/directconnect/v2/home
. -
In the navigation pane, choose Transit gateways and then select the transit gateway.
-
Choose View details.
-
Choose Direct Connect gateway associations and then choose Associate Direct Connect gateway.
-
Under Association account type, for Account owner, choose Another account.
-
For Direct Connect gateway owner, enter the ID of the account that owns the Direct Connect gateway.
-
Under Association settings, do the following:
-
For Direct Connect gateway ID, enter the ID of the Direct Connect gateway.
-
For Virtual interface owner, enter the ID of the account that owns the virtual interface for the association.
-
(Optional) To specify a list of prefixes to be allowed from the transit gateway, add the prefixes to Allowed prefixes, separating them using commas, or entering them on separate lines.
-
-
Choose Associate Direct Connect gateway.
To create an association proposal using the command line or API
create-direct-connect-gateway-association-proposal (AWS CLI)
CreateDirectConnectGatewayAssociationProposal (AWS Direct Connect API)