Skip to main content

distribution_tags

Expands all tag keys and values for distributions in a region

Overview

Namedistribution_tags
TypeResource
DescriptionResource Type definition for AWS::Lightsail::Distribution
Idaws.lightsail.distribution_tags

Fields

NameDatatypeDescription
distribution_namestringThe name for the distribution.
distribution_arnstring
bundle_idstringThe bundle ID to use for the distribution.
ip_address_typestringThe IP address type for the distribution.
cache_behaviorsarrayAn array of objects that describe the per-path cache behavior for the distribution.
cache_behavior_settingsobjectAn object that describes the cache behavior settings for the distribution.
default_cache_behaviorobjectAn object that describes the default cache behavior for the distribution.
originobjectAn object that describes the origin resource for the distribution, such as a Lightsail instance or load balancer.
statusstringThe status of the distribution.
able_to_update_bundlebooleanIndicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle.
is_enabledbooleanIndicates whether the distribution is enabled.
certificate_namestringThe certificate attached to the Distribution.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all distributions in a region.

SELECT
region,
distribution_name,
distribution_arn,
bundle_id,
ip_address_type,
cache_behaviors,
cache_behavior_settings,
default_cache_behavior,
origin,
status,
able_to_update_bundle,
is_enabled,
certificate_name,
tag_key,
tag_value
FROM aws.lightsail.distribution_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the distribution_tags resource, see distributions