Difference between revisions of "Aws ec2 create-route"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/create-route.html | * https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/create-route.html | ||
aws ec2 create-route | aws ec2 create-route | ||
+ | |||
+ | aws ec2 create-route --destination-[[cidr-block]] "172.31.0.0/16" --vpc-peering-connection-id YourConnectionId--route-table-id YourRouteTableId | ||
+ | { | ||
+ | "Return": true | ||
+ | } | ||
== Related == | == Related == |
Latest revision as of 07:07, 4 July 2022
aws ec2 create-route
aws ec2 create-route --destination-cidr-block "172.31.0.0/16" --vpc-peering-connection-id YourConnectionId--route-table-id YourRouteTableId { "Return": true }
Related[edit]
route add
aws ec2 modify-vpc-attribute
aws ec2 associate-route-table
aws ec2 create-route-table
AWS::EC2::Route
aws ec2 describe-subnets | grep -w CidrBlock
See also[edit]
Advertising: