AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
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 Updating an SSL Certificate for a Load Balancer in the Elastic Load Balancing Developer Guide.

Namespace: Amazon.ElasticLoadBalancing
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract SetLoadBalancerListenerSSLCertificateResponse SetLoadBalancerListenerSSLCertificate(
         SetLoadBalancerListenerSSLCertificateRequest request
)

Parameters

request
Type: Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateRequest

Container for the necessary parameters to execute the SetLoadBalancerListenerSSLCertificate service method.

Return Value
Type: Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateResponse
The response from the SetLoadBalancerListenerSSLCertificate service method, as returned by ElasticLoadBalancing.

Exceptions

ExceptionCondition
AccessPointNotFoundException The specified load balancer does not exist.
CertificateNotFoundException The specified SSL ID does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM).
InvalidConfigurationRequestException The requested configuration change is not valid.
ListenerNotFoundException The load balancer does not have a listener configured at the specified port.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5