distribution
Gets an individual distribution
resource
Overview
Name | distribution |
Type | Resource |
Description | distribution |
Id | awscc.cloudfront.distribution |
Fields
Name | Datatype | Description |
---|---|---|
distribution_config | object | The distribution's configuration. |
domain_name | string | |
id | string | |
tags | array | A complex type that contains zero or more ``Tag`` elements. |
region | string | AWS 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