Skip to content

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.

TransitGatewayAttachmentId

The ID of the attachment to which traffic is routed.

Blackhole

Indicates whether to drop traffic that matches this route.

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 is UnauthorizedOperation.

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"
    )
  )
)

Request syntax

svc$create_transit_gateway_prefix_list_reference(
  TransitGatewayRouteTableId = "string",
  PrefixListId = "string",
  TransitGatewayAttachmentId = "string",
  Blackhole = TRUE|FALSE,
  DryRun = TRUE|FALSE
)