# NOT RUN {
# This example associates the specified security group with the specified
# load balancer.
svc$set_security_groups(
LoadBalancerArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my...",
SecurityGroups = list(
"sg-5943793c"
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab