Creates an association between a Direct Connect gateway and a virtual private gateway
Source:R/directconnect_operations.R
directconnect_create_direct_connect_gateway_association.RdCreates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.
See https://www.paws-r-sdk.com/docs/directconnect_create_direct_connect_gateway_association/ for full documentation.
Usage
directconnect_create_direct_connect_gateway_association(
directConnectGatewayId,
gatewayId = NULL,
addAllowedPrefixesToDirectConnectGateway = NULL,
virtualGatewayId = NULL
)Arguments
- directConnectGatewayId
[required] The ID of the Direct Connect gateway.
- gatewayId
The ID of the virtual private gateway or transit gateway.
- addAllowedPrefixesToDirectConnectGateway
The Amazon VPC prefixes to advertise to the Direct Connect gateway
This parameter is required when you create an association to a transit gateway.
For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.
- virtualGatewayId
The ID of the virtual private gateway.