Skip to main content

distributions

Retrieves a list of distributions in a region

Overview

Namedistributions
TypeResource
Descriptiondistributions
Idawscc.lightsail.distributions

Fields

NameDatatypeDescription
distribution_namestringThe name for the distribution.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
distribution_name
FROM awscc.lightsail.distributions
WHERE region = 'us-east-1'

Permissions

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

Create

lightsail:AttachCertificateToDistribution,
lightsail:CreateDistribution,
lightsail:DetachCertificateFromDistribution,
lightsail:GetCertificates,
lightsail:GetCertificateDetails,
lightsail:GetDistributions,
lightsail:TagResource,
lightsail:UntagResource,
lightsail:UpdateDistribution,
lightsail:UpdateDistributionBundle

List

lightsail:GetDistributions