# NOT RUN {
# This example replaces the specified route in the specified table table.
# The new route matches the specified CIDR and sends the traffic to the
# specified virtual private gateway.
# }
# NOT RUN {
svc$replace_route(
DestinationCidrBlock = "10.0.0.0/16",
GatewayId = "vgw-9a4cacf3",
RouteTableId = "rtb-22574640"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab