ApplicationListenerCertificateProps¶
-
class
aws_cdk.aws_elasticloadbalancingv2.
ApplicationListenerCertificateProps
(*, listener, certificate_arns=None, certificates=None)¶ Bases:
object
Properties for adding a set of certificates to a listener.
- Parameters
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.
- 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_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