Skip to content
v2.275.0

ApplicationListenerCertificateProps Struct ​

Properties for adding a set of certificates to a listener.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
import { aws_elasticloadbalancingv2 as interfaces_elasticloadbalancingv2 } from 'aws-cdk-lib/interfaces';

declare const listenerCertificate: elbv2.ListenerCertificate;
declare const listenerRef: interfaces_elasticloadbalancingv2.IListenerRef;
const applicationListenerCertificateProps: elbv2.ApplicationListenerCertificateProps = {
  listener: listenerRef,

  // the properties below are optional
  certificates: [listenerCertificate],
};

Properties ​

certificatesoptionalIListenerCertificate[]certificatesoptionaltyping.List[IListenerCertificate]certificatesoptionalList<IListenerCertificate>CertificatesoptionalIListenerCertificate[]Certificatesoptional*[]IListenerCertificate#
Certificates to attach.

Default: One of 'certificates' and 'certificateArns' is required.

Duplicates are not allowed.

listenerIListenerReflistenerIListenerReflistenerIListenerRefListenerIListenerRefListenerIListenerRefrequired#
The listener to attach the rule to.