AWS::Lightsail::LoadBalancerTlsCertificateThe `AWS::Lightsail::LoadBalancerTlsCertificate` resource specifies a TLS certificate that can be used with a Lightsail load balancer.
import { CfnLoadBalancerTlsCertificate } from 'aws-cdk-lib/aws-lightsail';Or use the module namespace:
import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnLoadBalancerTlsCertificateConfiguration passed to the constructor as CfnLoadBalancerTlsCertificateProps.
certificateDomainNameRequiredstringThe domain name for the SSL/TLS certificate. For example, `example.com` or `www.example.com` .
certificateNameRequiredstringThe name of the SSL/TLS certificate.
loadBalancerNameRequiredstringThe name of the load balancer that the SSL/TLS certificate is attached to.
certificateAlternativeNamesOptionalstring[]An array of alternative domain names and subdomain names for your SSL/TLS certificate. In addition to the primary domain name, you can have up to nine alternative domain names. Wildcards (such as `*.example.com` ) are not supported.
httpsRedirectionEnabledOptionalboolean | IResolvableA Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
isAttachedOptionalboolean | IResolvableA Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lightsailAWS::Lightsail::LoadBalancerTlsCertificate