[][src]Struct rusoto_lightsail::LightsailDistribution

pub struct LightsailDistribution {
    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 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>>,
}

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.

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

impl Clone for LightsailDistribution[src]

impl Debug for LightsailDistribution[src]

impl Default for LightsailDistribution[src]

impl<'de> Deserialize<'de> for LightsailDistribution[src]

impl PartialEq<LightsailDistribution> for LightsailDistribution[src]

impl StructuralPartialEq for LightsailDistribution[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.