logo
pub struct LightsailDistribution {
Show 20 fields pub able_to_update_bundle: Option<bool>, pub alternative_domain_names: Option<Vec<String>>, pub arn: Option<String>, pub bundle_id: Option<String>, pub cache_behavior_settings: Option<CacheSettings>, pub cache_behaviors: Option<Vec<CacheBehaviorPerPath>>, pub certificate_name: Option<String>, pub created_at: Option<f64>, pub default_cache_behavior: Option<CacheBehavior>, pub domain_name: Option<String>, pub ip_address_type: Option<String>, pub is_enabled: Option<bool>, pub location: Option<ResourceLocation>, pub name: Option<String>, pub origin: Option<Origin>, pub origin_public_dns: Option<String>, pub resource_type: Option<String>, pub status: Option<String>, pub support_code: Option<String>, pub tags: Option<Vec<Tag>>,
}
Expand description

Describes an Amazon Lightsail content delivery network (CDN) distribution.

Fields

able_to_update_bundle: Option<bool>

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: Option<Vec<String>>

The alternate domain names of the distribution.

arn: Option<String>

The Amazon Resource Name (ARN) of the distribution.

bundle_id: Option<String>

The ID of the bundle currently applied to the distribution.

cache_behavior_settings: Option<CacheSettings>

An object that describes the cache behavior settings of the distribution.

cache_behaviors: Option<Vec<CacheBehaviorPerPath>>

An array of objects that describe the per-path cache behavior of the distribution.

certificate_name: Option<String>

The name of the SSL/TLS certificate attached to the distribution, if any.

created_at: Option<f64>

The timestamp when the distribution was created.

default_cache_behavior: Option<CacheBehavior>

An object that describes the default cache behavior of the distribution.

domain_name: Option<String>

The domain name of the distribution.

ip_address_type: Option<String>

The IP address type of the distribution.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

is_enabled: Option<bool>

Indicates whether the distribution is enabled.

location: Option<ResourceLocation>

An object that describes the location of the distribution, such as the AWS Region and Availability Zone.

Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.

name: Option<String>

The name of the distribution.

origin: Option<Origin>

An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.

The distribution pulls, caches, and serves content from the origin.

origin_public_dns: Option<String>

The public DNS of the origin.

resource_type: Option<String>

The Lightsail resource type (e.g., Distribution).

status: Option<String>

The status of the distribution.

support_code: Option<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: Option<Vec<Tag>>

The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more