AWS ec2 documentation change
Summary
Added PowerShell V5 examples for security group deletion
Security assessment
Documents security group management without addressing specific security risks or protection mechanisms
Diff
diff --git a/ec2/latest/devguide/example_ec2_DeleteSecurityGroup_section.md b/ec2/latest/devguide/example_ec2_DeleteSecurityGroup_section.md index 8c90170d7..ca2ebc9d5 100644 --- a//ec2/latest/devguide/example_ec2_DeleteSecurityGroup_section.md +++ b//ec2/latest/devguide/example_ec2_DeleteSecurityGroup_section.md @@ -404,0 +405,28 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example deletes the specified security group for EC2-VPC. You are prompted for confirmation before the operation proceeds, unless you also specify the Force parameter.** + + + Remove-EC2SecurityGroup -GroupId sg-12345678 + + +**Output:** + + + Confirm + Are you sure you want to perform this action? + Performing operation "Remove-EC2SecurityGroup (DeleteSecurityGroup)" on Target "sg-12345678". + [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): + +**Example 2: This example deletes the specified security group for EC2-Classic.** + + + Remove-EC2SecurityGroup -GroupName my-security-group -Force + + + * For API details, see [DeleteSecurityGroup](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +