Skip to main content

distributions_by_owned_resources

Creates, updates, deletes, gets or lists a distributions_by_owned_resources resource.

Overview

Namedistributions_by_owned_resources
TypeResource
Idaws.cloudfront.distributions_by_owned_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
is_truncatedbooleanA flag that indicates whether more DistributionIdOwner objects 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 results in the list.
itemsstringThe number of DistributionIdOwner objects.
markerstringUse this field when paginating results to indicate where to begin in your list of DistributionIdOwner objects. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
max_itemsintegerThe maximum number of DistributionIdOwner objects to return.
next_markerstringA token used for pagination of results returned in the response. You can use the token from the previous request to define where the current request should begin.
quantityintegerSpecifies the actual number of DistributionIdOwner objects included in the list for the current page.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_distributions_by_owned_resourceselectresource_arn, regionMarker, MaxItemsLists the CloudFront distributions that are associated with the specified resource that you own.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
resource_arnstringThe ARN of the CloudFront resource that you've shared with other Amazon Web Services accounts.
MarkerstringUse this field when paginating results to indicate where to begin in your list of distributions. The response includes distributions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response.
MaxItemsstringThe maximum number of distributions to return.

SELECT examples

Lists the CloudFront distributions that are associated with the specified resource that you own.

SELECT
is_truncated,
items,
marker,
max_items,
next_marker,
quantity
FROM aws.cloudfront.distributions_by_owned_resources
WHERE resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
AND Marker = '{{ Marker }}'
AND MaxItems = '{{ MaxItems }}'
;