Replace Route
ec2_replace_route(
RouteTableId,
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,
VpcPeeringConnectionId = NULL,
simplify = TRUE,
others = list(),
print_on_error = aws_get_print_on_error(),
retry_time = aws_get_retry_time(),
network_timeout = aws_get_network_timeout(),
region = aws_get_region()
)
Character. The ID of the route table.
Character. The IPv4 CIDR address block used for the destination match.[optional]
Character. The IPv6 CIDR address block used for the destination match.[optional]
Character. The ID of the prefix list for the route.[optional]
Logical. Checks whether you have the required permissions for the action, without actually making the request,...[optional]
Character. The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.[optional]
Character. [IPv6 traffic only] The ID of an egress-only internet gateway.[optional]
Character. The ID of an internet gateway or virtual private gateway.[optional]
Character. The ID of a NAT instance in your VPC.[optional]
Logical. Specifies whether to reset the local route to its default target (local
).[optional]
Character. [IPv4 traffic only] The ID of a NAT gateway.[optional]
Character. The ID of a transit gateway.[optional]
Character. The ID of the local gateway.[optional]
Character. [IPv4 traffic only] The ID of a carrier gateway.[optional]
Character. The ID of a network interface.[optional]
Character. The ID of a VPC peering connection.[optional]
Logical. Whether to simplify the result and handle nextToken
in the response[optional]
Named list. The parameters that are not included in the function parameters and need to be added into the request[optional]
Logical. Whether to show an error message when a network error occurs.
Integer. Number of retries for a REST request when encounter the
network issue. If the request has been sent retry_time
times but still not
be able to get the response, an error will be thrown.
Numeric. Number of seconds to wait for a REST response until giving up. Can not be less than 1 ms.
Character. The region of the AWS service.
A list object or a character vector
The ID of the route table.
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.
The ID of a VPC peering connection.