Create Transit Gateway Prefix List Reference
| ec2_create_transit_gateway_prefix_list_reference | R Documentation |
Creates a reference (route) to a prefix list in a specified transit gateway route table¶
Description¶
Creates a reference (route) to a prefix list in a specified transit gateway route table.
Usage¶
ec2_create_transit_gateway_prefix_list_reference(
TransitGatewayRouteTableId, PrefixListId, TransitGatewayAttachmentId,
Blackhole, DryRun)
Arguments¶
TransitGatewayRouteTableId[required] The ID of the transit gateway route table.
PrefixListId[required] The ID of the prefix list that is used for destination matches.
TransitGatewayAttachmentIdThe ID of the attachment to which traffic is routed.
BlackholeIndicates whether to drop traffic that matches this route.
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.
Value¶
A list with the following syntax:
list(
TransitGatewayPrefixListReference = list(
TransitGatewayRouteTableId = "string",
PrefixListId = "string",
PrefixListOwnerId = "string",
State = "pending"|"available"|"modifying"|"deleting",
Blackhole = TRUE|FALSE,
TransitGatewayAttachment = list(
TransitGatewayAttachmentId = "string",
ResourceType = "vpc"|"vpn"|"direct-connect-gateway"|"connect"|"peering"|"tgw-peering",
ResourceId = "string"
)
)
)