Learn R Programming

paws.compute (version 0.7.0)

ec2_replace_route_table_association: Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC

Description

Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation completes, the subnet or gateway uses the routes in the new route table. For more information about route tables, see Route tables in the Amazon VPC User Guide.

See https://www.paws-r-sdk.com/docs/ec2_replace_route_table_association/ for full documentation.

Usage

ec2_replace_route_table_association(AssociationId, DryRun = NULL, RouteTableId)

Arguments

AssociationId

[required] The association ID.

DryRun

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.

RouteTableId

[required] The ID of the new route table to associate with the subnet.