Skip to main content

acme_domain_validations

Creates, updates, deletes, gets or lists an acme_domain_validations resource.

Overview

Nameacme_domain_validations
TypeResource
Idaws.acm.acme_domain_validations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
acme_domain_validation_arnstringThe Amazon Resource Name (ARN) of the ACME domain validation. (pattern: <code>arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+/acme-domain-validation/[a-zA-Z0-9-]+</code>)
acme_endpoint_arnstringThe Amazon Resource Name (ARN) of the ACME endpoint. (pattern: <code>arn:aws[a-z-]*:acm:[a-z0-9-]+:[0-9]{12}:acme-endpoint/[a-zA-Z0-9-]+</code>)
created_atstring (date-time)The time at which the domain validation was created.
domain_namestringThe domain name being validated. (pattern: <code>([a-z0-9]([a-z0-9-][a-z0-9])?.)[a-z0-9]([a-z0-9-]*[a-z0-9])?</code>)
failure_detailsobjectDetails about the failure, if the validation failed.
prevalidation_detailsobjectDetails about the prevalidation configuration.
prevalidation_typestringThe type of prevalidation used. (DNS_PREVALIDATION)
statusstringThe status of the domain validation. (VALIDATING, VALID, INVALID, DELETING)
updated_atstring (date-time)The time at which the domain validation was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_acme_domain_validationselectregionReturns detailed metadata about the specified domain validation, including its status, domain scope, and DNS resource records required for validation.
list_acme_domain_validationsselectregionRetrieves a list of domain validations for the specified ACME endpoint.
create_acme_domain_validationinsertregion, AcmeEndpointArn, DomainName, PrevalidationOptionsCreates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.
update_acme_domain_validationupdateregion, AcmeDomainValidationArnUpdates the prevalidation configuration of an existing domain validation.
delete_acme_domain_validationdeleteregionDeletes a domain validation. After deletion, the ACME endpoint can no longer issue certificates for the associated domain.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns detailed metadata about the specified domain validation, including its status, domain scope, and DNS resource records required for validation.

SELECT
acme_domain_validation_arn,
acme_endpoint_arn,
created_at,
domain_name,
failure_details,
prevalidation_details,
prevalidation_type,
status,
updated_at
FROM aws.acm.acme_domain_validations
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.

INSERT INTO aws.acm.acme_domain_validations (
IdempotencyToken,
AcmeEndpointArn,
DomainName,
PrevalidationOptions,
Tags,
region
)
SELECT
'{{ IdempotencyToken }}',
'{{ AcmeEndpointArn }}' /* required */,
'{{ DomainName }}' /* required */,
'{{ PrevalidationOptions }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
acme_domain_validation_arn
;

UPDATE examples

Updates the prevalidation configuration of an existing domain validation.

UPDATE aws.acm.acme_domain_validations
SET
AcmeDomainValidationArn = '{{ AcmeDomainValidationArn }}',
PrevalidationOptions = '{{ PrevalidationOptions }}'
WHERE
region = '{{ region }}' --required
AND AcmeDomainValidationArn = '{{ AcmeDomainValidationArn }}' --required;

DELETE examples

Deletes a domain validation. After deletion, the ACME endpoint can no longer issue certificates for the associated domain.

DELETE FROM aws.acm.acme_domain_validations
WHERE region = '{{ region }}' --required
;