AWS EC2 Create Route VERSION 1


Creates a route in the route table within a VPC. Exactly one of the following targets must be specified for the call to succeed: Gateway ID, NAT Instance ID, VPC Peering Connection ID, Network Interface ID. For more information see the AWS Amazon Virtual Private Cloud User Guide online.

The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.


Parameters

NameDescription
Dry RunDry run validates user permissions and inputs without completing the EC2 action (true or false).
Route Table IDThe ID of the route table for the route.
Destination CIDR BlockThe IPv4 CIDR address block used for the destination match.
Gateway IDThe ID of an internet gateway or virtual private gateway attached to your VPC.
NAT Instance IDThe ID of a NAT instance in your VPC. This operation will fail if you specify an instance ID unless exactly one network interface is attached.
VPC Peering Connection IDThe ID of a VPC peering connection.
Network Interface IDThe ID of a network interface.

Sample Configuration

NameDescription
Dry Runfalse
Route Table IDrtb-22574640
Destination CIDR Block0.0.0.0/0
Gateway IDigw-c0a643a9
NAT Instance ID
VPC Peering Connection ID
Network Interface ID

Results

This handler does not return any results.


Changelog

No Changelog Available.