managed_certificate_details
Creates, updates, deletes, gets or lists a managed_certificate_details resource.
Overview
| Name | managed_certificate_details |
| Type | Resource |
| Id | aws.cloudfront.managed_certificate_details |
Fields
The following fields are returned by SELECT queries:
- get_managed_certificate_details
| Name | Datatype | Description |
|---|---|---|
certificate_arn | string | The ARN of the CloudFront managed ACM certificate. |
certificate_status | string | The status of the CloudFront managed ACM certificate. Your distribution tenant will be updated with the latest certificate status. When calling the UpdateDistributionTenant operation, use the latest value for the ETag. |
validation_token_details | string | Contains details about the validation token of the specified CloudFront managed ACM certificate. |
validation_token_host | string | Contains details about the validation token host of the specified CloudFront managed ACM certificate. For cloudfront, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately. For self-hosted, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront. This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_managed_certificate_details | select | identifier, region | Gets details about the CloudFront managed ACM certificate. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
identifier | string | The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_managed_certificate_details
Gets details about the CloudFront managed ACM certificate.
SELECT
certificate_arn,
certificate_status,
validation_token_details,
validation_token_host
FROM aws.cloudfront.managed_certificate_details
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;