v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1468281275.7 KB

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

get/#Action=SetSecurityGroups

Query parameters

LoadBalancerArnstring required

The Amazon Resource Name (ARN) of the load balancer.

SecurityGroupsSecurityGroupId[] required

The IDs of the security groups.

Action'SetSecurityGroups' required
Version'2015-12-01' required

Response

Success