Lightsail Distribution

Lightsail Distribution in AWS is a content delivery network (CDN) resource that helps deliver web content, such as images, videos, and static files, to users with low latency and high transfer speeds. It is designed to work seamlessly with Amazon Lightsail instances and buckets, making it easy for developers to accelerate their applications without complex configurations. This service automatically caches content at edge locations worldwide, improving performance and reducing load on the origin server. It is a simplified alternative to Amazon CloudFront, tailored for Lightsail users.

aws.lightsail_distribution

Fields

TitleIDTypeData TypeDescription
_keycorestring
able_to_update_bundlecoreboolIndicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle. Use the UpdateDistributionBundle action to change your distribution's bundle.
account_idcorestring
alternative_domain_namescorearray<string>The alternate domain names of the distribution.
arncorestringThe Amazon Resource Name (ARN) of the distribution.
bundle_idcorestringThe ID of the bundle currently applied to the distribution.
cache_behavior_settingscorejsonAn object that describes the cache behavior settings of the distribution.
cache_behaviorscorejsonAn array of objects that describe the per-path cache behavior of the distribution.
certificate_namecorestringThe name of the SSL/TLS certificate attached to the distribution, if any.
created_atcoretimestampThe timestamp when the distribution was created.
default_cache_behaviorcorejsonAn object that describes the default cache behavior of the distribution.
domain_namecorestringThe domain name of the distribution.
ip_address_typecorestringThe IP address type of the distribution. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
is_enabledcoreboolIndicates whether the distribution is enabled.
locationcorejsonAn object that describes the location of the distribution, such as the Amazon Web Services Region and Availability Zone. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
namecorestringThe name of the distribution.
origincorejsonAn object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
origin_public_dnscorestringThe public DNS of the origin.
resource_typecorestringThe Lightsail resource type (Distribution).
statuscorestringThe status of the distribution.
support_codecorestringThe support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
tagscorehstore
viewer_minimum_tls_protocol_versioncorestringThe minimum TLS protocol version that the distribution can use to communicate with viewers.