Modify Local Gateway Route
| ec2_modify_local_gateway_route | R Documentation |
Modifies the specified local gateway route¶
Description¶
Modifies the specified local gateway route.
Usage¶
ec2_modify_local_gateway_route(DestinationCidrBlock,
LocalGatewayRouteTableId, LocalGatewayVirtualInterfaceGroupId,
NetworkInterfaceId, DryRun, DestinationPrefixListId)
Arguments¶
DestinationCidrBlockThe CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.
LocalGatewayRouteTableId[required] The ID of the local gateway route table.
LocalGatewayVirtualInterfaceGroupIdThe ID of the virtual interface group.
NetworkInterfaceIdThe ID of the network interface.
DryRunChecks 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 isUnauthorizedOperation.DestinationPrefixListIdThe ID of the prefix list. Use a prefix list in place of
DestinationCidrBlock. You cannot useDestinationPrefixListIdandDestinationCidrBlockin the same request.
Value¶
A list with the following syntax:
list(
Route = list(
DestinationCidrBlock = "string",
LocalGatewayVirtualInterfaceGroupId = "string",
Type = "static"|"propagated",
State = "pending"|"active"|"blackhole"|"deleting"|"deleted",
LocalGatewayRouteTableId = "string",
LocalGatewayRouteTableArn = "string",
OwnerId = "string",
SubnetId = "string",
CoipPoolId = "string",
NetworkInterfaceId = "string",
DestinationPrefixListId = "string"
)
)