ApplicationListenerCertificateProps

class aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerCertificateProps(*, listener, certificates=None)

Bases: object

Properties for adding a set of certificates to a listener.

Parameters:
  • listener (IApplicationListener) – The listener to attach the rule to.

  • certificates (Optional[Sequence[IListenerCertificate]]) – Certificates to attach. Duplicates are not allowed. Default: - One of ‘certificates’ and ‘certificateArns’ is required.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticloadbalancingv2 as elbv2

# application_listener: elbv2.ApplicationListener
# listener_certificate: elbv2.ListenerCertificate

application_listener_certificate_props = elbv2.ApplicationListenerCertificateProps(
    listener=application_listener,

    # the properties below are optional
    certificates=[listener_certificate]
)

Attributes

certificates

Certificates to attach.

Duplicates are not allowed.

Default:
  • One of ‘certificates’ and ‘certificateArns’ is required.

listener

The listener to attach the rule to.