Skip to main content

distribution

Gets an individual distribution resource

Overview

Namedistribution
TypeResource
Descriptiondistribution
Idawscc.cloudfront.distribution

Fields

NameDatatypeDescription
distribution_configobjectThe distribution's configuration.
domain_namestring
idstring
tagsarrayA complex type that contains zero or more ``Tag`` elements.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
distribution_config,
domain_name,
id,
tags
FROM awscc.cloudfront.distribution
WHERE data__Identifier = '<Id>';

Permissions

To operate on the distribution resource, the following permissions are required:

Delete

cloudfront:DeleteDistribution,
cloudfront:GetDistribution,
cloudfront:GetDistributionConfig

Read

cloudfront:GetDistribution,
cloudfront:GetDistributionConfig

Update

cloudfront:GetDistribution,
cloudfront:GetDistributionConfig,
cloudfront:UpdateDistribution,
cloudfront:UpdateDistributionWithStagingConfig,
cloudfront:ListTagsForResource,
cloudfront:TagResource,
cloudfront:UntagResource