Replace Route

GET {{aws_ec2_base_url}}/?DestinationCidrBlock&DestinationIpv6CidrBlock&DryRun&EgressOnlyInternetGatewayId&GatewayId&InstanceId&NatGatewayId&NetworkInterfaceId&RouteTableId&TransitGatewayId&VpcPeeringConnectionId&Action=ReplaceRoute

Replaces an existing route within a route table in a VPC.

Request Params

KeyDatatypeRequiredDescription
DestinationCidrBlocknullThe IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
DestinationIpv6CidrBlocknullThe IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
DryRunnullChecks 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.
EgressOnlyInternetGatewayIdnull[IPv6 traffic only] The ID of an egress-only internet gateway.
GatewayIdnullThe ID of an internet gateway or virtual private gateway.
InstanceIdnullThe ID of a NAT instance in your VPC.
NatGatewayIdnull[IPv4 traffic only] The ID of a NAT gateway.
NetworkInterfaceIdnullThe ID of a network interface.
RouteTableIdnullThe ID of the route table.
TransitGatewayIdnullThe ID of a transit gateway.
VpcPeeringConnectionIdnullThe ID of a VPC peering connection.
Actionstring