# NOT RUN {
# This example associates a security group with the specified load
# balancer in a VPC.
svc$apply_security_groups_to_load_balancer(
LoadBalancerName = "my-load-balancer",
SecurityGroups = list(
"sg-fc448899"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab