Class ListenerCertificate
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCertificate
- All Implemented Interfaces:
IListenerCertificate
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-05-31T18:44:15.939Z")
@Stability(Stable)
public class ListenerCertificate
extends software.amazon.jsii.JsiiObject
implements IListenerCertificate
A certificate source for an ELBv2 listener.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancingv2.*; ListenerCertificate listenerCertificate = ListenerCertificate.fromArn("certificateArn");
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IListenerCertificate
IListenerCertificate.Jsii$Default, IListenerCertificate.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ListenerCertificate
(String certificateArn) protected
ListenerCertificate
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ListenerCertificate
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ListenerCertificate
Use any certificate, identified by its ARN, as a listener certificate.static ListenerCertificate
fromCertificateManager
(ICertificate acmCertificate) Use an ACM certificate as a listener certificate.The ARN of the certificate to use.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ListenerCertificate
protected ListenerCertificate(software.amazon.jsii.JsiiObjectRef objRef) -
ListenerCertificate
protected ListenerCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ListenerCertificate
- Parameters:
certificateArn
- This parameter is required.
-
-
Method Details
-
fromArn
@Stability(Stable) @NotNull public static ListenerCertificate fromArn(@NotNull String certificateArn) Use any certificate, identified by its ARN, as a listener certificate.- Parameters:
certificateArn
- This parameter is required.
-
fromCertificateManager
@Stability(Stable) @NotNull public static ListenerCertificate fromCertificateManager(@NotNull ICertificate acmCertificate) Use an ACM certificate as a listener certificate.- Parameters:
acmCertificate
- This parameter is required.
-
getCertificateArn
The ARN of the certificate to use.- Specified by:
getCertificateArn
in interfaceIListenerCertificate
-