Apply Security Groups To Load Balancer
elb_apply_security_groups_to_load_balancer | R Documentation |
Associates one or more security groups with your load balancer in a virtual private cloud (VPC)¶
Description¶
Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.
For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.
Usage¶
Arguments¶
LoadBalancerName
[required] The name of the load balancer.
SecurityGroups
[required] The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
Value¶
A list with the following syntax:
Request syntax¶
svc$apply_security_groups_to_load_balancer(
LoadBalancerName = "string",
SecurityGroups = list(
"string"
)
)