Difference between revisions of "Aws ec2 create-route"
Jump to navigation
Jump to search
(3 intermediate revisions 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 == | ||
Line 9: | Line 14: | ||
* <code>[[aws ec2 create-route-table]]</code> | * <code>[[aws ec2 create-route-table]]</code> | ||
* <code>[[AWS::EC2::Route]]</code> | * <code>[[AWS::EC2::Route]]</code> | ||
+ | * <code>[[aws ec2 describe-subnets]] | grep -w [[CidrBlock]]</code> | ||
== See also == | == See also == | ||
* {{aws ec2 route}} | * {{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: