Skip to main content

certificate

Gets an individual certificate resource

Overview

Namecertificate
TypeResource
Descriptioncertificate
Idawscc.lightsail.certificate

Fields

NameDatatypeDescription
certificate_namestringThe name for the certificate.
domain_namestringThe domain name (e.g., example.com ) for the certificate.
subject_alternative_namesarrayAn array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
certificate_arnstring
statusstringThe validation status of the certificate.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
certificate_name,
domain_name,
subject_alternative_names,
certificate_arn,
status,
tags
FROM awscc.lightsail.certificate
WHERE data__Identifier = '<CertificateName>';

Permissions

To operate on the certificate resource, the following permissions are required:

Read

lightsail:GetCertificates

Update

lightsail:GetCertificates,
lightsail:TagResource,
lightsail:UntagResource

Delete

lightsail:DeleteCertificate,
lightsail:GetCertificates