NAME

Paws::Lightsail::Certificate

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Lightsail::Certificate object:

$service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Certificate object:

$result = $service_obj->Method(...);
$result->Att1->Arn

DESCRIPTION

Describes the full details of an Amazon Lightsail SSL/TLS certificate.

To get a summary of a certificate, use the GetCertificates action and ommit includeCertificateDetails from your request. The response will include only the certificate Amazon Resource Name (ARN), certificate name, domain name, and tags.

ATTRIBUTES

Arn => Str

The Amazon Resource Name (ARN) of the certificate.

CreatedAt => Str

The timestamp when the certificate was created.

DomainName => Str

The domain name of the certificate.

DomainValidationRecords => ArrayRef[Paws::Lightsail::DomainValidationRecord]

An array of objects that describe the domain validation records of the certificate.

EligibleToRenew => Str

The renewal eligibility of the certificate.

InUseResourceCount => Int

The number of Lightsail resources that the certificate is attached to.

IssuedAt => Str

The timestamp when the certificate was issued.

IssuerCA => Str

The certificate authority that issued the certificate.

KeyAlgorithm => Str

The algorithm used to generate the key pair (the public and private key) of the certificate.

Name => Str

The name of the certificate (e.g., my-certificate).

NotAfter => Str

The timestamp when the certificate expires.

NotBefore => Str

The timestamp when the certificate is first valid.

RenewalSummary => Paws::Lightsail::RenewalSummary

An object that describes the status of the certificate renewal managed by Lightsail.

RequestFailureReason => Str

The validation failure reason, if any, of the certificate.

The following failure reasons are possible:

  • NO_AVAILABLE_CONTACTS - This failure applies to email validation, which is not available for Lightsail certificates.

  • ADDITIONAL_VERIFICATION_REQUIRED - Lightsail requires additional information to process this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the Alexa top 1000 websites. To provide the required information, use the AWS Support Center (https://console.aws.amazon.com/support/home) to contact AWS Support.

    You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.

  • DOMAIN_NOT_ALLOWED - One or more of the domain names in the certificate request was reported as an unsafe domain by VirusTotal (https://www.virustotal.com/gui/home/url). To correct the problem, search for your domain name on the VirusTotal (https://www.virustotal.com/gui/home/url) website. If your domain is reported as suspicious, see Google Help for Hacked Websites (https://developers.google.com/web/fundamentals/security/hacked) to learn what you can do.

    If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.

    If you see this error and your domain is not included in the VirusTotal list, visit the AWS Support Center (https://console.aws.amazon.com/support/home) and create a case.

  • INVALID_PUBLIC_DOMAIN - One or more of the domain names in the certificate request is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all domain names in the request are for valid top-level domains. For example, you cannot request a certificate for example.invalidpublicdomain because invalidpublicdomain is not a valid top-level domain.

  • OTHER - Typically, this failure occurs when there is a typographical error in one or more of the domain names in the certificate request. Try to request a certificate again, correcting any spelling errors or typos that were in the failed request.

RevocationReason => Str

The reason the certificate was revoked. This value is present only when the certificate status is REVOKED.

RevokedAt => Str

The timestamp when the certificate was revoked. This value is present only when the certificate status is REVOKED.

SerialNumber => Str

The serial number of the certificate.

Status => Str

The validation status of the certificate.

SubjectAlternativeNames => ArrayRef[Str|Undef]

An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) of the certificate.

SupportCode => Str

The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.

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

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues