distributions_by_vpc_origin_ids
Creates, updates, deletes, gets or lists a distributions_by_vpc_origin_ids resource.
Overview
| Name | distributions_by_vpc_origin_ids |
| Type | Resource |
| Id | aws.cloudfront.distributions_by_vpc_origin_ids |
Fields
The following fields are returned by SELECT queries:
- list_distributions_by_vpc_origin_id
| Name | Datatype | Description |
|---|---|---|
is_truncated | boolean | A flag that indicates whether more distribution IDs remain to be listed. If your results were truncated, you can make a subsequent request using the Marker request field to retrieve more distribution IDs in the list. |
items | string | Contains the distribution IDs in the list. |
marker | string | The value provided in the Marker request field. |
max_items | integer | The maximum number of distribution IDs requested. |
next_marker | string | Contains the value that you should use in the Marker field of a subsequent request to continue listing distribution IDs where you left off. |
quantity | integer | The total number of distribution IDs returned in the response. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_distributions_by_vpc_origin_id | select | vpc_origin_id, region | Marker, MaxItems | List CloudFront distributions by their VPC origin ID. |
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) |
vpc_origin_id | string | The VPC origin ID. |
Marker | string | The marker associated with the VPC origin distributions list. |
MaxItems | string | The maximum number of items included in the list. |
SELECT examples
- list_distributions_by_vpc_origin_id
List CloudFront distributions by their VPC origin ID.
SELECT
is_truncated,
items,
marker,
max_items,
next_marker,
quantity
FROM aws.cloudfront.distributions_by_vpc_origin_ids
WHERE vpc_origin_id = '{{ vpc_origin_id }}' -- required
AND region = '{{ region }}' -- required
AND Marker = '{{ Marker }}'
AND MaxItems = '{{ MaxItems }}'
;