Skip to content

/AWS1/CL_DCO=>CREDIRECTCNCTGWASSOCIATION()

About CreateDirectConnectGatewayAssociation

Creates 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.

Method Signature

IMPORTING

Required arguments:

IV_DIRECTCONNECTGATEWAYID TYPE /AWS1/DCODIRECTCNCTGATEWAYID /AWS1/DCODIRECTCNCTGATEWAYID

The ID of the Direct Connect gateway.

Optional arguments:

IV_GATEWAYID TYPE /AWS1/DCOGATEWAYIDTOASSOCIATE /AWS1/DCOGATEWAYIDTOASSOCIATE

The ID of the virtual private gateway or transit gateway.

IT_ADDALWEDPREFIXESTODIREC00 TYPE /AWS1/CL_DCOROUTEFILTERPREFIX=>TT_ROUTEFILTERPREFIXLIST TT_ROUTEFILTERPREFIXLIST

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.

IV_VIRTUALGATEWAYID TYPE /AWS1/DCOVIRTUALGATEWAYID /AWS1/DCOVIRTUALGATEWAYID

The ID of the virtual private gateway.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DCOCREDIRECTCNCTGWA01 /AWS1/CL_DCOCREDIRECTCNCTGWA01