LightsailDistribution
¶
Source code in docs_src/capo_lightsail/types/lightsail_distribution.py
able_to_update_bundle
instance-attribute
¶
able_to_update_bundle: NotRequired[boolean]
Indicates 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.
alternative_domain_names
instance-attribute
¶
alternative_domain_names: NotRequired[StringList]
The alternate domain names of the distribution.
arn
instance-attribute
¶
arn: NotRequired[NonEmptyString]
The Amazon Resource Name (ARN) of the distribution.
bundle_id
instance-attribute
¶
bundle_id: NotRequired[string]
The ID of the bundle currently applied to the distribution.
cache_behavior_settings
instance-attribute
¶
cache_behavior_settings: NotRequired[CacheSettings]
An object that describes the cache behavior settings of the distribution.
cache_behaviors
instance-attribute
¶
cache_behaviors: NotRequired[CacheBehaviorList]
An array of objects that describe the per-path cache behavior of the distribution.
certificate_name
instance-attribute
¶
certificate_name: NotRequired[ResourceName]
The name of the SSL/TLS certificate attached to the distribution, if any.
created_at
instance-attribute
¶
created_at: NotRequired[IsoDate]
The timestamp when the distribution was created.
custom_error_responses
instance-attribute
¶
custom_error_responses: NotRequired[DistributionCustomErrorResponseList]
An array of objects that describe the custom error responses configured for the distribution.
default_cache_behavior
instance-attribute
¶
default_cache_behavior: NotRequired[CacheBehavior]
An object that describes the default cache behavior of the distribution.
default_root_object
instance-attribute
¶
default_root_object: NotRequired[string]
The object (for example, index.html) that the distribution returns when a viewer requests the root URL of the distribution (/) instead of a specific object.
domain_name
instance-attribute
¶
domain_name: NotRequired[string]
The domain name of the distribution.
ip_address_type
instance-attribute
¶
ip_address_type: NotRequired[IpAddressType]
The IP address type of the distribution.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
is_enabled
instance-attribute
¶
is_enabled: NotRequired[boolean]
Indicates whether the distribution is enabled.
location
instance-attribute
¶
location: NotRequired[ResourceLocation]
An 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.
origin
instance-attribute
¶
origin: NotRequired[Origin]
An 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_dns
instance-attribute
¶
origin_public_dns: NotRequired[string]
The public DNS of the origin.
resource_type
instance-attribute
¶
resource_type: NotRequired[ResourceType]
The Lightsail resource type (Distribution).
support_code
instance-attribute
¶
support_code: NotRequired[string]
The 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.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.