Replace Transit Gateway Route
ec2_replace_transit_gateway_route | R Documentation |
Replaces the specified route in the specified transit gateway route table¶
Description¶
Replaces the specified route in the specified transit gateway route table.
Usage¶
ec2_replace_transit_gateway_route(DestinationCidrBlock,
TransitGatewayRouteTableId, TransitGatewayAttachmentId, Blackhole,
DryRun)
Arguments¶
DestinationCidrBlock
[required] The CIDR range used for the destination match. Routing decisions are based on the most specific match.
TransitGatewayRouteTableId
[required] The ID of the route table.
TransitGatewayAttachmentId
The ID of the attachment.
Blackhole
Indicates whether traffic matching this route is to be dropped.
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
.
Value¶
A list with the following syntax:
list(
Route = list(
DestinationCidrBlock = "string",
PrefixListId = "string",
TransitGatewayRouteTableAnnouncementId = "string",
TransitGatewayAttachments = list(
list(
ResourceId = "string",
TransitGatewayAttachmentId = "string",
ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering"
)
),
Type = "static"|"propagated",
State = "pending"|"active"|"blackhole"|"deleting"|"deleted"
)
)