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¶
DestinationCidrBlock
The 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.
LocalGatewayVirtualInterfaceGroupId
The ID of the virtual interface group.
NetworkInterfaceId
The ID of the network interface.
DryRun
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 isUnauthorizedOperation
.DestinationPrefixListId
The ID of the prefix list. Use a prefix list in place of
DestinationCidrBlock
. You cannot useDestinationPrefixListId
andDestinationCidrBlock
in 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"
)
)