Skip to content

/AWS1/CL_EC2=>DISASSOCIATEROUTETABLE()

About DisassociateRouteTable

Disassociates a subnet or gateway from a route table.

After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route tables in the Amazon VPC User Guide.

Method Signature

IMPORTING

Required arguments:

IV_ASSOCIATIONID TYPE /AWS1/EC2ROUTETBLASSOCIATIONID /AWS1/EC2ROUTETBLASSOCIATIONID

The association ID representing the current association between the route table and subnet or gateway.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.