Skip to content

Modify Transit Gateway Prefix List Reference

ec2_modify_transit_gateway_prefix_list_reference R Documentation

Modifies a reference (route) to a prefix list in a specified transit gateway route table

Description

Modifies a reference (route) to a prefix list in a specified transit gateway route table.

Usage

ec2_modify_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.

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$modify_transit_gateway_prefix_list_reference(
  TransitGatewayRouteTableId = "string",
  PrefixListId = "string",
  TransitGatewayAttachmentId = "string",
  Blackhole = TRUE|FALSE,
  DryRun = TRUE|FALSE
)