Difference between revisions of "Aws ec2 create-route"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* 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 --destination-[[cidr-block]] "172.31.0.0/16" --vpc-peering-connection-id YourConnectionId--route-table-id YourRouteTableId | ||
+ | { | ||
+ | "Return": true | ||
+ | } | ||
== Related == | == Related == | ||
* <code>[[route add]]</code> | * <code>[[route add]]</code> | ||
* <code>[[aws ec2 modify-vpc-attribute]]</code> | * <code>[[aws ec2 modify-vpc-attribute]]</code> | ||
+ | * <code>[[aws ec2 associate-route-table]]</code> | ||
+ | * <code>[[aws ec2 create-route-table]]</code> | ||
+ | * <code>[[AWS::EC2::Route]]</code> | ||
+ | * <code>[[aws ec2 describe-subnets]] | grep -w [[CidrBlock]]</code> | ||
== See also == | == See also == | ||
− | * {{aws ec2 | + | * {{aws ec2 route}} |
− | * {{aws ec2}} | + | * {{aws ec2 subnet}} |
[[Category:AWS]] | [[Category:AWS]] |
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: