Class ListenerCertificate
A certificate source for an ELBv2 listener.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ListenerCertificate : DeputyBase, IListenerCertificate
Syntax (vb)
Public Class ListenerCertificate
Inherits DeputyBase
Implements IListenerCertificate
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
var listenerCertificate = ListenerCertificate.FromArn("certificateArn");
Synopsis
Constructors
ListenerCertificate(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ListenerCertificate(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ListenerCertificate(String) |
Properties
CertificateArn | The ARN of the certificate to use. |
Methods
FromArn(String) | Use any certificate, identified by its ARN, as a listener certificate. |
FromCertificateManager(ICertificate) | Use an ACM certificate as a listener certificate. |
Constructors
ListenerCertificate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ListenerCertificate(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ListenerCertificate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ListenerCertificate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ListenerCertificate(String)
public ListenerCertificate(string certificateArn)
Parameters
- certificateArn System.String
The ARN of the certificate to use.
Properties
CertificateArn
The ARN of the certificate to use.
public virtual string CertificateArn { get; }
Property Value
System.String
Methods
FromArn(String)
Use any certificate, identified by its ARN, as a listener certificate.
public static ListenerCertificate FromArn(string certificateArn)
Parameters
- certificateArn System.String
Returns
FromCertificateManager(ICertificate)
Use an ACM certificate as a listener certificate.
public static ListenerCertificate FromCertificateManager(ICertificate acmCertificate)
Parameters
- acmCertificate ICertificate
Returns