# NOT RUN {
# This example replaces the existing SSL certificate for the specified
# HTTPS listener.
# }
# NOT RUN {
svc$set_load_balancer_listener_ssl_certificate(
LoadBalancerName = "my-load-balancer",
LoadBalancerPort = 443L,
SSLCertificateId = "arn:aws:iam::123456789012:server-certificate/new-server-cert"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace