ApplicationListenerCertificateProps

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

Bases: object

Properties for adding a set of certificates to a listener.

Parameters
  • certificate_arns (Optional[Sequence[str]]) – (deprecated) ARNs of certificates to attach. Duplicates are not allowed. Default: - One of ‘certificates’ and ‘certificateArns’ is required.

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

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

Example:

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

# application_listener is of type ApplicationListener
# listener_certificate is of type ListenerCertificate

application_listener_certificate_props = elbv2.ApplicationListenerCertificateProps(
    listener=application_listener,

    # the properties below are optional
    certificate_arns=["certificateArns"],
    certificates=[listener_certificate]
)

Attributes

certificate_arns

(deprecated) ARNs of certificates to attach.

Duplicates are not allowed.

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

Deprecated

Use certificates instead.

Stability

deprecated

Return type

Optional[List[str]]

certificates

Certificates to attach.

Duplicates are not allowed.

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

Return type

Optional[List[IListenerCertificate]]

listener

The listener to attach the rule to.

Return type

IApplicationListener