distribution_tenants_by_customizations
Creates, updates, deletes, gets or lists a distribution_tenants_by_customizations resource.
Overview
| Name | distribution_tenants_by_customizations |
| Type | Resource |
| Id | aws.cloudfront.distribution_tenants_by_customizations |
Fields
The following fields are returned by SELECT queries:
- list_distribution_tenants_by_customization
| Name | Datatype | Description |
|---|---|---|
arn | string | The Amazon Resource Name (ARN) of the distribution tenant. |
connection_group_id | string | The ID of the connection group ID for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group. |
created_time | string | The date and time when the distribution tenant was created. |
customizations | string | Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant. |
distribution_id | string | The identifier for the multi-tenant distribution. For example: EDFDVBD632BHDS5. |
domains | string | The domains associated with the distribution tenant. |
e_tag | string | The current version of the distribution tenant. |
enabled | boolean | Indicates whether the distribution tenants are in an enabled state. If disabled, the distribution tenant won't service traffic. |
id | string | The ID of the distribution tenant. |
last_modified_time | string | The date and time when the distribution tenant was updated. |
name | string | The name of the distribution tenant. |
status | string | The status of the distribution tenant. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_distribution_tenants_by_customization | select | region | Lists distribution tenants by the customization that you specify. You must specify either the CertificateArn parameter or WebACLArn parameter, but not both in the same request. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_distribution_tenants_by_customization
Lists distribution tenants by the customization that you specify. You must specify either the CertificateArn parameter or WebACLArn parameter, but not both in the same request.
SELECT
arn,
connection_group_id,
created_time,
customizations,
distribution_id,
domains,
e_tag,
enabled,
id,
last_modified_time,
name,
status
FROM aws.cloudfront.distribution_tenants_by_customizations
WHERE region = '{{ region }}' -- required
;