CmdID

CmdID / aws / aws directconnect

aws directconnect accept-direct-connect-gateway-association-proposal

Accepts a proposal request to attach a virtual private gateway or transit gateway to a Direct Connect gateway. AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To accept a gateway association proposal

The following accept-direct-connect-gateway-association-proposal example accepts the specified proposal.

aws directconnect accept-direct-connect-gateway-association-proposal --direct-connect-gateway-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --proposal-id a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 --associated-gateway-owner-account 123456789012Identify
--direct-connect-gateway-idThe ID of the Direct Connect gateway.
--proposal-idThe ID of the request proposal.
--associated-gateway-owner-accountThe ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
Its output
{
    "directConnectGatewayAssociation": {
        "directConnectGatewayId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
        "directConnectGatewayOwnerAccount": "123456789012",
        "associationState": "associating",
        "associatedGateway": {
            "id": "tgw-02f776b1a7EXAMPLE",
            "type": "transitGateway",
            "ownerAccount": "123456789012",
            "region": "us-west-2"
        },
        "associationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
        "allowedPrefixesToDirectConnectGateway": [
            {
                "cidr": "192.168.1.0/30"
            }
        ]
    }
}

For more information, see Accept or reject a Transit Gateway and Direct Connect association proposal in the AWS Direct Connect User Guide.

Options

4 in the AWS CLI reference
--associated-gateway-owner-accountThe ID of the Amazon Web Services account that owns the virtual private gateway or transit gateway.
--direct-connect-gateway-idThe ID of the Direct Connect gateway.
--override-allowed-prefixes-to-direct-connect-gatewayOverrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
--proposal-idThe ID of the request proposal.