ApplicationListenerCertificate

class aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerCertificate(scope, id, *, listener, certificate_arns=None, certificates=None)

Bases: Construct

Add certificates to a listener.

ExampleMetadata:

fixture=_generated

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: elbv2.ApplicationListener
# listener_certificate: elbv2.ListenerCertificate

application_listener_certificate = elbv2.ApplicationListenerCertificate(self, "MyApplicationListenerCertificate",
    listener=application_listener,

    # the properties below are optional
    certificate_arns=["certificateArns"],
    certificates=[listener_certificate]
)
Parameters:
  • scope (Construct) –

  • id (str) –

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

  • 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.

Methods

to_string()

Returns a string representation of this construct.

Return type:

str

Attributes

node

The construct tree node associated with this construct.

Static Methods

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters:

x (Any) –

Return type:

bool