ListenerCertificate

class aws_cdk.aws_elasticloadbalancingv2.ListenerCertificate(certificate_arn)

Bases: object

A certificate source for an ELBv2 listener.

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

listener_certificate = elbv2.ListenerCertificate.from_arn("certificateArn")
Parameters:

certificate_arn (str) – The ARN of the certificate to use.

Attributes

certificate_arn

The ARN of the certificate to use.

Static Methods

classmethod from_arn(certificate_arn)

Use any certificate, identified by its ARN, as a listener certificate.

Parameters:

certificate_arn (str) –

Return type:

ListenerCertificate

classmethod from_certificate_manager(acm_certificate)

Use an ACM certificate as a listener certificate.

Parameters:

acm_certificate (ICertificate) –

Return type:

ListenerCertificate