AWS code-library documentation change
Summary
Added PowerShell V5 example for DeleteVpnConnection operation with confirmation workflow
Security assessment
Demonstrates normal VPN management operations without any reference to security patches or vulnerabilities. Confirmation prompts are standard safety measures.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_DeleteVpnConnection_section.md b/code-library/latest/ug/ec2_example_ec2_DeleteVpnConnection_section.md index 6008edd3a..1b3937f68 100644 --- a//code-library/latest/ug/ec2_example_ec2_DeleteVpnConnection_section.md +++ b//code-library/latest/ug/ec2_example_ec2_DeleteVpnConnection_section.md @@ -56,0 +57,22 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example deletes the specified VPN connection. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.** + + + Remove-EC2VpnConnection -VpnConnectionId vpn-12345678 + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing operation "Remove-EC2VpnConnection (DeleteVpnConnection)" 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 [DeleteVpnConnection](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +