domain_verifications
Creates, updates, deletes, gets or lists a domain_verifications resource.
Overview
| Name | domain_verifications |
| Type | Resource |
| Id | aws.vpc_lattice.domain_verifications |
Fields
The following fields are returned by SELECT queries:
- get_domain_verification
- list_domain_verifications
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the domain verification. (pattern: <code>dv-[a-fA-F0-9]{17}</code>) |
arn | string | The Amazon Resource Name (ARN) of the domain verification. (pattern: <code>arn:[a-z0-9f-]+:vpc-lattice:[a-zA-Z0-9-]+:\d{12}:domainverification/dv-[a-fA-F0-9]{17}</code>) |
created_at | string (date-time) | The date and time that the domain verification was created, in ISO-8601 format. |
domain_name | string | The domain name being verified. |
last_verified_time | string (date-time) | The date and time that the domain was last successfully verified, in ISO-8601 format. |
status | string | The current status of the domain verification process. (VERIFIED, PENDING, VERIFICATION_TIMED_OUT) |
tags | object | The tags associated with the domain verification. |
txt_method_config | object | The TXT record configuration used for domain verification. |
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the domain verification. (pattern: <code>dv-[a-fA-F0-9]{17}</code>) |
arn | string | The Amazon Resource Name (ARN) of the domain verification. (pattern: <code>arn:[a-z0-9f-]+:vpc-lattice:[a-zA-Z0-9-]+:\d{12}:domainverification/dv-[a-fA-F0-9]{17}</code>) |
created_at | string (date-time) | The date and time that the domain verification was created, in ISO-8601 format. |
domain_name | string | The domain name being verified. |
last_verified_time | string (date-time) | The date and time that the domain was last successfully verified, in ISO-8601 format. |
status | string | The current status of the domain verification process. (VERIFIED, PENDING, VERIFICATION_TIMED_OUT) |
tags | object | The tags associated with the domain verification. |
txt_method_config | object | The TXT record configuration used for domain verification. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_domain_verification | select | domain_verification_identifier, region | Retrieves information about a domain verification.ß | |
list_domain_verifications | select | region | maxResults, nextToken | Lists the domain verifications. |
delete_domain_verification | delete | domain_verification_identifier, region | Deletes the specified domain verification. |
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 |
|---|---|---|
domain_verification_identifier | string | The ID of the domain verification to delete. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to return. |
nextToken | string | A pagination token for the next page of results. |
SELECT examples
- get_domain_verification
- list_domain_verifications
Retrieves information about a domain verification.ß
SELECT
id,
arn,
created_at,
domain_name,
last_verified_time,
status,
tags,
txt_method_config
FROM aws.vpc_lattice.domain_verifications
WHERE domain_verification_identifier = '{{ domain_verification_identifier }}' -- required
AND region = '{{ region }}' -- required
;
Lists the domain verifications.
SELECT
id,
arn,
created_at,
domain_name,
last_verified_time,
status,
tags,
txt_method_config
FROM aws.vpc_lattice.domain_verifications
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;
DELETE examples
- delete_domain_verification
Deletes the specified domain verification.
DELETE FROM aws.vpc_lattice.domain_verifications
WHERE domain_verification_identifier = '{{ domain_verification_identifier }}' --required
AND region = '{{ region }}' --required
;