distributions_list_only
Lists distributions
in a region or regions, for all properties use distributions
Overview
Name | distributions_list_only |
Type | Resource |
Description | Resource Type definition for AWS::Lightsail::Distribution |
Id | aws.lightsail.distributions_list_only |
Fields
Name | Datatype | Description |
---|---|---|
distribution_name | string | The name for the distribution. |
distribution_arn | string | |
bundle_id | string | The bundle ID to use for the distribution. |
ip_address_type | string | The IP address type for the distribution. |
cache_behaviors | array | An array of objects that describe the per-path cache behavior for the distribution. |
cache_behavior_settings | object | An object that describes the cache behavior settings for the distribution. |
default_cache_behavior | object | An object that describes the default cache behavior for the distribution. |
origin | object | An object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer. |
status | string | The status of the distribution. |
able_to_update_bundle | boolean | Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle. |
is_enabled | boolean | Indicates whether the distribution is enabled. |
certificate_name | string | The certificate attached to the Distribution. |
tags | array | An array of key-value pairs to apply to this resource. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all distributions
in a region.
SELECT
region,
distribution_name
FROM aws.lightsail.distributions_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the distributions_list_only
resource, see distributions