[ aws . ec2 ]

create-transit-gateway-route

Description

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

See also: AWS API Documentation

Synopsis

  create-transit-gateway-route
--destination-cidr-block <value>
--transit-gateway-route-table-id <value>
[--transit-gateway-attachment-id <value>]
[--blackhole | --no-blackhole]
[--dry-run | --no-dry-run]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]

Options

--destination-cidr-block (string) [required]

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

--transit-gateway-route-table-id (string) [required]

The ID of the transit gateway route table.

--transit-gateway-attachment-id (string)

The ID of the attachment.

--blackhole | --no-blackhole (boolean)