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.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.353Z") @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");
 
  • Constructor Details

    • ListenerCertificate

      protected ListenerCertificate(software.amazon.jsii.JsiiObjectRef objRef)
    • ListenerCertificate

      protected ListenerCertificate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ListenerCertificate

      @Stability(Stable) protected ListenerCertificate(@NotNull String certificateArn)
      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

      @Stability(Stable) @NotNull public String getCertificateArn()
      The ARN of the certificate to use.
      Specified by:
      getCertificateArn in interface IListenerCertificate