AWS code-library documentation change
Summary
Added PowerShell V5 examples for DetachVpnGateway operation
Security assessment
Routine example addition for detaching VPN gateways. No security vulnerabilities or security-specific guidance mentioned.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_DetachVpnGateway_section.md b/code-library/latest/ug/ec2_example_ec2_DetachVpnGateway_section.md index 431ca43fe..7922051b3 100644 --- a//code-library/latest/ug/ec2_example_ec2_DetachVpnGateway_section.md +++ b//code-library/latest/ug/ec2_example_ec2_DetachVpnGateway_section.md @@ -48,0 +49,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example detaches the specified virtual private gateway from the specified VPC.** + + + Dismount-EC2VpnGateway -VpnGatewayId vgw-1a2b3c4d -VpcId vpc-12345678 + + + * For API details, see [DetachVpnGateway](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +