certificate
Gets an individual certificate
resource
Overview
Name | certificate |
Type | Resource |
Description | certificate |
Id | awscc.lightsail.certificate |
Fields
Name | Datatype | Description |
---|---|---|
certificate_name | string | The name for the certificate. |
domain_name | string | The domain name (e.g., example.com ) for the certificate. |
subject_alternative_names | array | An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate. |
certificate_arn | string | |
status | string | The validation status of the certificate. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS 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