class ApplicationListenerCertificate (construct)
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticLoadBalancingV2.ApplicationListenerCertificate |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticloadbalancingv2#ApplicationListenerCertificate |
Java | software.amazon.awscdk.services.elasticloadbalancingv2.ApplicationListenerCertificate |
Python | aws_cdk.aws_elasticloadbalancingv2.ApplicationListenerCertificate |
TypeScript (source) | aws-cdk-lib » aws_elasticloadbalancingv2 » ApplicationListenerCertificate |
Implements
IConstruct, IDependable
Add certificates to a listener.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticloadbalancingv2 as elbv2 } from 'aws-cdk-lib';
declare const applicationListener: elbv2.ApplicationListener;
declare const listenerCertificate: elbv2.ListenerCertificate;
const applicationListenerCertificate = new elbv2.ApplicationListenerCertificate(this, 'MyApplicationListenerCertificate', {
listener: applicationListener,
// the properties below are optional
certificates: [listenerCertificate],
});
Initializer
new ApplicationListenerCertificate(scope: Construct, id: string, props: ApplicationListenerCertificateProps)
Parameters
- scope
Construct - id
string - props
ApplicationListener Certificate Props
Construct Props
| Name | Type | Description |
|---|---|---|
| listener | IApplication | The listener to attach the rule to. |
| certificates? | IListener[] | Certificates to attach. |
listener
Type:
IApplication
The listener to attach the rule to.
certificates?
Type:
IListener[]
(optional, default: One of 'certificates' and 'certificateArns' is required.)
Certificates to attach.
Duplicates are not allowed.
Properties
| Name | Type | Description |
|---|---|---|
| node | Node | The tree node. |
node
Type:
Node
The tree node.
Methods
| Name | Description |
|---|---|
| to | Returns a string representation of this construct. |
toString()
public toString(): string
Returns
string
Returns a string representation of this construct.

.NET
Go
Java
Python
TypeScript (