AWS code-library documentation change
Summary
Added PowerShell V5 example for modifying route table entries
Security assessment
Routing configuration example with no direct security implications
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_ReplaceRoute_section.md b/code-library/latest/ug/ec2_example_ec2_ReplaceRoute_section.md index a74637cd3..67eda544c 100644 --- a//code-library/latest/ug/ec2_example_ec2_ReplaceRoute_section.md +++ b//code-library/latest/ug/ec2_example_ec2_ReplaceRoute_section.md @@ -48,0 +49,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example replaces the specified route for the specified route table. The new route sends the specified traffic to the specified virtual private gateway.** + + + Set-EC2Route -RouteTableId rtb-1a2b3c4d -DestinationCidrBlock 10.0.0.0/24 -GatewayId vgw-1a2b3c4d + + + * For API details, see [ReplaceRoute](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +