Describes the default certificate and the certificate list for the specified HTTPS or TLS
listener.
If the default certificate is also in the certificate list, it appears twice in the
results (once with IsDefault set to true and once with IsDefault set
to false).
For more information, see SSL certificates in the Application Load Balancers Guide or
Server certificates in the Network Load Balancers
Guide.
example
Use a bare-bones client and the command you need to make an API call.
Describes the default certificate and the certificate list for the specified HTTPS or TLS listener.
If the default certificate is also in the certificate list, it appears twice in the results (once with
IsDefault
set to true and once withIsDefault
set to false).For more information, see SSL certificates in the Application Load Balancers Guide or Server certificates in the Network Load Balancers Guide.
Use a bare-bones client and the command you need to make an API call.
import { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import // const { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import const client = new ElasticLoadBalancingV2Client(config); const command = new DescribeListenerCertificatesCommand(input); const response = await client.send(command);
DescribeListenerCertificatesCommandInput for command's
input
shape.DescribeListenerCertificatesCommandOutput for command's
response
shape.config for ElasticLoadBalancingV2Client's
config
shape.