AWS SDK Version 3 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.

Container for the parameters to the SetLoadBalancerListenerSSLCertificate operation. 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 Balancer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticLoadBalancing.AmazonElasticLoadBalancingRequest
      Amazon.ElasticLoadBalancing.Model.SetLoadBalancerListenerSSLCertificateRequest

Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK.ElasticLoadBalancing.dll
Version: 3.x.y.z

Syntax

C#
public class SetLoadBalancerListenerSSLCertificateRequest : AmazonElasticLoadBalancingRequest
         IAmazonWebServiceRequest

The SetLoadBalancerListenerSSLCertificateRequest type exposes the following members

Constructors

NameDescription
Public Method SetLoadBalancerListenerSSLCertificateRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method SetLoadBalancerListenerSSLCertificateRequest(string, int, string)

Instantiates SetLoadBalancerListenerSSLCertificateRequest with the parameterized properties

Properties

NameTypeDescription
Public Property LoadBalancerName System.String

Gets and sets the property LoadBalancerName.

The name of the load balancer.

Public Property LoadBalancerPort System.Int32

Gets and sets the property LoadBalancerPort.

The port that uses the specified SSL certificate.

Public Property SSLCertificateId System.String

Gets and sets the property SSLCertificateId.

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

Examples

This example replaces the existing SSL certificate for the specified HTTPS listener.

To update the SSL certificate for an HTTPS listener


var response = client.SetLoadBalancerListenerSSLCertificate(new SetLoadBalancerListenerSSLCertificateRequest 
{
    LoadBalancerName = "my-load-balancer",
    LoadBalancerPort = 443,
    SSLCertificateId = "arn:aws:iam::123456789012:server-certificate/new-server-cert"
});


            

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms