Replaces an existing route within a route table in a VPC.
See https://www.paws-r-sdk.com/docs/ec2_replace_route/ for full documentation.
ec2_replace_route(
DestinationCidrBlock = NULL,
DestinationIpv6CidrBlock = NULL,
DestinationPrefixListId = NULL,
DryRun = NULL,
VpcEndpointId = NULL,
EgressOnlyInternetGatewayId = NULL,
GatewayId = NULL,
InstanceId = NULL,
LocalTarget = NULL,
NatGatewayId = NULL,
TransitGatewayId = NULL,
LocalGatewayId = NULL,
CarrierGatewayId = NULL,
NetworkInterfaceId = NULL,
RouteTableId,
VpcPeeringConnectionId = NULL,
CoreNetworkArn = NULL
)
The 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.
The 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.
The ID of the prefix list for the route.
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
.
The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.
[IPv6 traffic only] The ID of an egress-only internet gateway.
The ID of an internet gateway or virtual private gateway.
The ID of a NAT instance in your VPC.
Specifies whether to reset the local route to its default target
(local
).
[IPv4 traffic only] The ID of a NAT gateway.
The ID of a transit gateway.
The ID of the local gateway.
[IPv4 traffic only] The ID of a carrier gateway.
The ID of a network interface.
[required] The ID of the route table.
The ID of a VPC peering connection.
The Amazon Resource Name (ARN) of the core network.