CfnLoadBalancerTlsCertificateProps
- class aws_cdk.aws_lightsail.CfnLoadBalancerTlsCertificateProps(*, certificate_domain_name, certificate_name, load_balancer_name, certificate_alternative_names=None, https_redirection_enabled=None, is_attached=None)
Bases:
object
Properties for defining a
CfnLoadBalancerTlsCertificate
.- Parameters:
certificate_domain_name (
str
) – The domain name for the SSL/TLS certificate. For example,example.com
orwww.example.com
.certificate_name (
str
) – The name of the SSL/TLS certificate.load_balancer_name (
str
) – The name of the load balancer that the SSL/TLS certificate is attached to.certificate_alternative_names (
Optional
[Sequence
[str
]]) – 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.https_redirection_enabled (
Union
[bool
,IResolvable
,None
]) – A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.is_attached (
Union
[bool
,IResolvable
,None
]) – A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
- Link:
- 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_lightsail as lightsail cfn_load_balancer_tls_certificate_props = lightsail.CfnLoadBalancerTlsCertificateProps( certificate_domain_name="certificateDomainName", certificate_name="certificateName", load_balancer_name="loadBalancerName", # the properties below are optional certificate_alternative_names=["certificateAlternativeNames"], https_redirection_enabled=False, is_attached=False )
Attributes
- certificate_alternative_names
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.
- certificate_domain_name
The domain name for the SSL/TLS certificate.
For example,
example.com
orwww.example.com
.
- certificate_name
The name of the SSL/TLS certificate.
- https_redirection_enabled
A Boolean value indicating whether HTTPS redirection is enabled for the load balancer that the TLS certificate is attached to.
- is_attached
A Boolean value indicating whether the SSL/TLS certificate is attached to a Lightsail load balancer.
- load_balancer_name
The name of the load balancer that the SSL/TLS certificate is attached to.