Learn R Programming

paws.compute (version 0.1.12)

ec2_create_transit_gateway_route: Creates a static route for the specified transit gateway route table

Description

Creates a static route for the specified transit gateway route table.

Usage

ec2_create_transit_gateway_route(DestinationCidrBlock,
  TransitGatewayRouteTableId, TransitGatewayAttachmentId, Blackhole,
  DryRun)

Value

A list with the following syntax:

list(
  Route = list(
    DestinationCidrBlock = "string",
    PrefixListId = "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"
  )
)

Arguments

DestinationCidrBlock

[required] The CIDR range used for destination matches. Routing decisions are based on the most specific match.

TransitGatewayRouteTableId

[required] The ID of the transit gateway route table.

TransitGatewayAttachmentId

The ID of the attachment.

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.

Request syntax

svc$create_transit_gateway_route(
  DestinationCidrBlock = "string",
  TransitGatewayRouteTableId = "string",
  TransitGatewayAttachmentId = "string",
  Blackhole = TRUE|FALSE,
  DryRun = TRUE|FALSE
)