paws.networking (version 0.1.6)

elb_set_load_balancer_listener_ssl_certificate: 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.

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.

Request syntax

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

Details

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

Examples

Run this code
# 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