distributions_by_connection_modes
Creates, updates, deletes, gets or lists a distributions_by_connection_modes resource.
Overview
| Name | distributions_by_connection_modes |
| Type | Resource |
| Id | aws.cloudfront.distributions_by_connection_modes |
Fields
The following fields are returned by SELECT queries:
- list_distributions_by_connection_mode
| Name | Datatype | Description |
|---|---|---|
is_truncated | boolean | A flag that indicates whether more distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more distributions in the list. |
items | string | A complex type that contains one DistributionSummary element for each distribution that was created by the current Amazon Web Services account. |
marker | string | The value you provided for the Marker request parameter. |
max_items | integer | The value you provided for the MaxItems request parameter. |
next_marker | string | If IsTruncated is true, this element is present and contains the value you can use for the Marker request parameter to continue listing your distributions where they left off. |
quantity | integer | The number of distributions that were created by the current Amazon Web Services account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_distributions_by_connection_mode | select | connection_mode, region | Marker, MaxItems | Lists the distributions by the connection mode that you specify. |
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 |
|---|---|---|
connection_mode | string | This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only). |
region | string | AWS region (default: us-east-1) |
Marker | string | The marker for the next set of distributions to retrieve. |
MaxItems | integer | The maximum number of distributions to return. |
SELECT examples
- list_distributions_by_connection_mode
Lists the distributions by the connection mode that you specify.
SELECT
is_truncated,
items,
marker,
max_items,
next_marker,
quantity
FROM aws.cloudfront.distributions_by_connection_modes
WHERE connection_mode = '{{ connection_mode }}' -- required
AND region = '{{ region }}' -- required
AND Marker = '{{ Marker }}'
AND MaxItems = '{{ MaxItems }}'
;