[][src]Struct rusoto_lightsail::CreateDistributionRequest

pub struct CreateDistributionRequest {
    pub bundle_id: String,
    pub cache_behavior_settings: Option<CacheSettings>,
    pub cache_behaviors: Option<Vec<CacheBehaviorPerPath>>,
    pub default_cache_behavior: CacheBehavior,
    pub distribution_name: String,
    pub origin: InputOrigin,
    pub tags: Option<Vec<Tag>>,
}

Fields

bundle_id: String

The bundle ID to use for the distribution.

A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota.

Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.

cache_behavior_settings: Option<CacheSettings>

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

cache_behaviors: Option<Vec<CacheBehaviorPerPath>>

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

default_cache_behavior: CacheBehavior

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

distribution_name: String

The name for the distribution.

origin: InputOrigin

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

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

tags: Option<Vec<Tag>>

The tag keys and optional values to add to the distribution during create.

Use the TagResource action to tag a resource after it's created.

Trait Implementations

impl Clone for CreateDistributionRequest[src]

impl Debug for CreateDistributionRequest[src]

impl Default for CreateDistributionRequest[src]

impl PartialEq<CreateDistributionRequest> for CreateDistributionRequest[src]

impl Serialize for CreateDistributionRequest[src]

impl StructuralPartialEq for CreateDistributionRequest[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> 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.