distribution_tenant_by_domains
Creates, updates, deletes, gets or lists a distribution_tenant_by_domains resource.
Overview
| Name | distribution_tenant_by_domains |
| Type | Resource |
| Id | aws.cloudfront.distribution_tenant_by_domains |
Fields
The following fields are returned by SELECT queries:
- get_distribution_tenant_by_domain
| Name | Datatype | Description |
|---|---|---|
distribution_tenant | string | The distribution tenant. |
e_tag | string | The current version of the distribution tenant. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_distribution_tenant_by_domain | select | domain, region | Gets information about a distribution tenant by 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.
| Name | Datatype | Description |
|---|---|---|
domain | string | A domain name associated with the target distribution tenant. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_distribution_tenant_by_domain
Gets information about a distribution tenant by the associated domain.
SELECT
distribution_tenant,
e_tag
FROM aws.cloudfront.distribution_tenant_by_domains
WHERE domain = '{{ domain }}' -- required
AND region = '{{ region }}' -- required
;