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 or www.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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-certificatealternativenames

certificate_domain_name

The domain name for the SSL/TLS certificate.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-certificatedomainname

certificate_name

The name of the SSL/TLS certificate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-certificatename

https_redirection_enabled

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-httpsredirectionenabled

is_attached

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-isattached

load_balancer_name

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-loadbalancertlscertificate.html#cfn-lightsail-loadbalancertlscertificate-loadbalancername