ec2_create_transit_gateway_prefix_list_reference: Creates a reference (route) to a prefix list in a specified...

Description Usage Arguments Value Request syntax

View source: R/ec2_operations.R

Description

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

Usage

1
2
3
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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

1
2
3
4
5
6
7
svc$create_transit_gateway_prefix_list_reference(
  TransitGatewayRouteTableId = "string",
  PrefixListId = "string",
  TransitGatewayAttachmentId = "string",
  Blackhole = TRUE|FALSE,
  DryRun = TRUE|FALSE
)

paws.compute documentation built on March 7, 2021, 5:10 p.m.