Skip to main content

direct_connect_gateway_association_proposals

Creates, updates, deletes, gets or lists a direct_connect_gateway_association_proposals resource.

Overview​

Namedirect_connect_gateway_association_proposals
TypeResource
Idaws.directconnect.direct_connect_gateway_association_proposals

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
direct_connect_gateway_association_proposalsarrayDescribes the Direct Connect gateway association proposals.
next_tokenstringThe token to use to retrieve the next page of results. This value is null when there are no more results to return.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_direct_connect_gateway_association_proposalsselectregionDescribes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway.
create_direct_connect_gateway_association_proposalinsertregion, directConnectGatewayId, directConnectGatewayOwnerAccount, gatewayIdCreates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway. You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any Amazon Web Services account.
delete_direct_connect_gateway_association_proposaldeleteregionDeletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

Describes one or more association proposals for connection between a virtual private gateway or transit gateway and a Direct Connect gateway.

SELECT
direct_connect_gateway_association_proposals,
next_token
FROM aws.directconnect.direct_connect_gateway_association_proposals
WHERE region = '{{ region }}' -- required
;

INSERT examples​

Creates a proposal to associate the specified virtual private gateway or transit gateway with the specified Direct Connect gateway. You can associate a Direct Connect gateway and virtual private gateway or transit gateway that is owned by any Amazon Web Services account.

INSERT INTO aws.directconnect.direct_connect_gateway_association_proposals (
directConnectGatewayId,
directConnectGatewayOwnerAccount,
gatewayId,
addAllowedPrefixesToDirectConnectGateway,
removeAllowedPrefixesToDirectConnectGateway,
region
)
SELECT
'{{ directConnectGatewayId }}' /* required */,
'{{ directConnectGatewayOwnerAccount }}' /* required */,
'{{ gatewayId }}' /* required */,
'{{ addAllowedPrefixesToDirectConnectGateway }}',
'{{ removeAllowedPrefixesToDirectConnectGateway }}',
'{{ region }}'
RETURNING
direct_connect_gateway_association_proposal
;

DELETE examples​

Deletes the association proposal request between the specified Direct Connect gateway and virtual private gateway or transit gateway.

DELETE FROM aws.directconnect.direct_connect_gateway_association_proposals
WHERE region = '{{ region }}' --required
;