Skip to content

Set Load Balancer Listener Ssl Certificate

elb_set_load_balancer_listener_ssl_certificate R Documentation

Sets the certificate that terminates the specified listener's SSL connections

Description

Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.

For more information about updating your SSL certificate, see Replace the SSL Certificate for Your Load Balancer in the Classic Load Balancers Guide.

Usage

elb_set_load_balancer_listener_ssl_certificate(LoadBalancerName,
  LoadBalancerPort, SSLCertificateId)

Arguments

LoadBalancerName

[required] The name of the load balancer.

LoadBalancerPort

[required] The port that uses the specified SSL certificate.

SSLCertificateId

[required] The Amazon Resource Name (ARN) of the SSL certificate.

Value

An empty list.

Request syntax

svc$set_load_balancer_listener_ssl_certificate(
  LoadBalancerName = "string",
  LoadBalancerPort = 123,
  SSLCertificateId = "string"
)

Examples

## Not run: 
# This example replaces the existing SSL certificate for the specified
# HTTPS listener.
svc$set_load_balancer_listener_ssl_certificate(
  LoadBalancerName = "my-load-balancer",
  LoadBalancerPort = 443L,
  SSLCertificateId = "arn:aws:iam::123456789012:server-certificate/new-server-cert"
)

## End(Not run)