Skip to contents

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

See https://www.paws-r-sdk.com/docs/elbv2_set_security_groups/ for full documentation.

Usage

elbv2_set_security_groups(
  LoadBalancerArn,
  SecurityGroups,
  EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = NULL
)

Arguments

LoadBalancerArn

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

SecurityGroups

[required] The IDs of the security groups.

EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic

Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. Applies only if the load balancer has an associated security group. The default is on.