AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteVpnConnectionRoute operation with route removal confirmation
Security assessment
Documents standard VPN configuration management without indicating any security vulnerabilities. The confirmation prompt is a standard safety feature, not a security fix.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_DeleteVpnConnectionRoute_section.md b/code-library/latest/ug/ec2_example_ec2_DeleteVpnConnectionRoute_section.md index a450cba87..1832f80a5 100644 --- a//code-library/latest/ug/ec2_example_ec2_DeleteVpnConnectionRoute_section.md +++ b//code-library/latest/ug/ec2_example_ec2_DeleteVpnConnectionRoute_section.md @@ -56,0 +57,22 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example removes the specified static route from the specified VPN connection. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.** + + + Remove-EC2VpnConnectionRoute -VpnConnectionId vpn-12345678 -DestinationCidrBlock 11.12.0.0/16 + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing operation "Remove-EC2VpnConnectionRoute (DeleteVpnConnectionRoute)" on Target "vpn-12345678". + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + + * For API details, see [DeleteVpnConnectionRoute](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +