aws-cdk-lib.aws_lightsail.CfnLoadBalancerTlsCertificateProps

interface CfnLoadBalancerTlsCertificateProps

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnLoadBalancerTlsCertificateProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnLoadBalancerTlsCertificateProps
Javasoftware.amazon.awscdk.services.lightsail.CfnLoadBalancerTlsCertificateProps
Pythonaws_cdk.aws_lightsail.CfnLoadBalancerTlsCertificateProps
TypeScript aws-cdk-lib » aws_lightsail » CfnLoadBalancerTlsCertificateProps

Properties for defining a CfnLoadBalancerTlsCertificate.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnLoadBalancerTlsCertificateProps: lightsail.CfnLoadBalancerTlsCertificateProps = {
  certificateDomainName: 'certificateDomainName',
  certificateName: 'certificateName',
  loadBalancerName: 'loadBalancerName',

  // the properties below are optional
  certificateAlternativeNames: ['certificateAlternativeNames'],
  httpsRedirectionEnabled: false,
  isAttached: false,
};

Properties

NameTypeDescription
certificateDomainNamestringThe domain name for the SSL/TLS certificate.
certificateNamestringThe name of the SSL/TLS certificate.
loadBalancerNamestringThe name of the load balancer that the SSL/TLS certificate is attached to.
certificateAlternativeNames?string[]An array of alternative domain names and subdomain names for your SSL/TLS certificate.
httpsRedirectionEnabled?boolean | IResolvableA Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
isAttached?boolean | IResolvableA Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.

certificateDomainName

Type: string

The domain name for the SSL/TLS certificate.

For example, example.com or www.example.com .


certificateName

Type: string

The name of the SSL/TLS certificate.


loadBalancerName

Type: string

The name of the load balancer that the SSL/TLS certificate is attached to.


certificateAlternativeNames?

Type: string[] (optional)

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.


httpsRedirectionEnabled?

Type: boolean | IResolvable (optional)

A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.


isAttached?

Type: boolean | IResolvable (optional)

A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.