AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

File: code-library/latest/ug/elastic-load-balancing-v2_example_elastic-load-balancing-v2_SetSecurityGroups_section.md

Summary

Added PowerShell V5 example for configuring load balancer security groups

Security assessment

Documents security group management but doesn't address a specific security flaw. Shows standard security configuration practices.

Diff

diff --git a/code-library/latest/ug/elastic-load-balancing-v2_example_elastic-load-balancing-v2_SetSecurityGroups_section.md b/code-library/latest/ug/elastic-load-balancing-v2_example_elastic-load-balancing-v2_SetSecurityGroups_section.md
index 127679dab..35bc3147e 100644
--- a//code-library/latest/ug/elastic-load-balancing-v2_example_elastic-load-balancing-v2_SetSecurityGroups_section.md
+++ b//code-library/latest/ug/elastic-load-balancing-v2_example_elastic-load-balancing-v2_SetSecurityGroups_section.md
@@ -62,0 +63,19 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example adds security group 'sg-07c3414abb8811cbd' to the specified Load balancer.**
+    
+    
+    Set-ELB2SecurityGroup -LoadBalancerArn 'arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/test-alb/3651b4394dd9a24f' -SecurityGroup 'sg-07c3414abb8811cbd'
+    
+
+**Output:**
+    
+    
+    sg-07c3414abb8811cbd
+
+  * For API details, see [SetSecurityGroups](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+