Struct aws_sdk_cloudfront::model::OriginGroup
source · [−]#[non_exhaustive]pub struct OriginGroup { /* private fields */ }
Expand description
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.
Implementations
sourceimpl OriginGroup
impl OriginGroup
sourcepub fn failover_criteria(&self) -> Option<&OriginGroupFailoverCriteria>
pub fn failover_criteria(&self) -> Option<&OriginGroupFailoverCriteria>
A complex type that contains information about the failover criteria for an origin group.
sourcepub fn members(&self) -> Option<&OriginGroupMembers>
pub fn members(&self) -> Option<&OriginGroupMembers>
A complex type that contains information about the origins in an origin group.
sourceimpl OriginGroup
impl OriginGroup
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OriginGroup
.
Trait Implementations
sourceimpl Clone for OriginGroup
impl Clone for OriginGroup
sourcefn clone(&self) -> OriginGroup
fn clone(&self) -> OriginGroup
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OriginGroup
impl Debug for OriginGroup
sourceimpl PartialEq<OriginGroup> for OriginGroup
impl PartialEq<OriginGroup> for OriginGroup
sourcefn eq(&self, other: &OriginGroup) -> bool
fn eq(&self, other: &OriginGroup) -> bool
impl StructuralPartialEq for OriginGroup
Auto Trait Implementations
impl RefUnwindSafe for OriginGroup
impl Send for OriginGroup
impl Sync for OriginGroup
impl Unpin for OriginGroup
impl UnwindSafe for OriginGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more