Paws::Lightsail::CreateLoadBalancerTlsCertificate - Arguments for method CreateLoadBalancerTlsCertificate on Paws::Lightsail


This class represents the parameters used for calling the method CreateLoadBalancerTlsCertificate on the Amazon Lightsail service. Use the attributes of this class as arguments to method CreateLoadBalancerTlsCertificate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLoadBalancerTlsCertificate.


    my $lightsail = Paws->service('Lightsail');
    my $CreateLoadBalancerTlsCertificateResult =
      CertificateDomainName       => 'MyDomainName',
      CertificateName             => 'MyResourceName',
      LoadBalancerName            => 'MyResourceName',
      CertificateAlternativeNames => [ 'MyDomainName', ... ],    # OPTIONAL
      Tags                        => [
          Key   => 'MyTagKey',                                   # OPTIONAL
          Value => 'MyTagValue',                                 # OPTIONAL
      ],                                                         # OPTIONAL

    # Results:
    my $Operations = $CreateLoadBalancerTlsCertificateResult->Operations;

  # Returns a L<Paws::Lightsail::CreateLoadBalancerTlsCertificateResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


CertificateAlternativeNames => ArrayRef[Str|Undef]

An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (e.g., *

REQUIRED CertificateDomainName => Str

The domain name (e.g., for your SSL/TLS certificate.

REQUIRED CertificateName => Str

The SSL/TLS certificate name.

You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits (

REQUIRED LoadBalancerName => Str

The load balancer name where you want to create the SSL/TLS certificate.

Tags => ArrayRef[Paws::Lightsail::Tag]

The tag keys and optional values to add to the resource during create.

To tag a resource after it has been created, see the tag resource operation.


This class forms part of Paws, documenting arguments for method CreateLoadBalancerTlsCertificate in Paws::Lightsail


The source code is located here:

Please report bugs to: