[][src]Struct rusoto_cloudfront::OriginGroup

pub struct OriginGroup {
    pub failover_criteria: OriginGroupFailoverCriteria,
    pub id: String,
    pub members: OriginGroupMembers,
}

An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specifiy the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.

Fields

failover_criteria: OriginGroupFailoverCriteria

A complex type that contains information about the failover criteria for an origin group.

id: String

The origin group's ID.

members: OriginGroupMembers

A complex type that contains information about the origins in an origin group.

Trait Implementations

impl Clone for OriginGroup[src]

impl Debug for OriginGroup[src]

impl Default for OriginGroup[src]

impl PartialEq<OriginGroup> for OriginGroup[src]

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