pub struct OriginGroup {
pub failover_criteria: OriginGroupFailoverCriteria,
pub id: String,
pub members: OriginGroupMembers,
}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.
Fields§
§failover_criteria: OriginGroupFailoverCriteriaA complex type that contains information about the failover criteria for an origin group.
id: StringThe origin group's ID.
members: OriginGroupMembersA complex type that contains information about the origins in an origin group.
Trait Implementations§
Source§impl Clone for OriginGroup
impl Clone for OriginGroup
Source§fn clone(&self) -> OriginGroup
fn clone(&self) -> OriginGroup
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OriginGroup
impl Debug for OriginGroup
Source§impl Default for OriginGroup
impl Default for OriginGroup
Source§fn default() -> OriginGroup
fn default() -> OriginGroup
Returns the “default value” for a type. Read more
Source§impl PartialEq for OriginGroup
impl PartialEq for OriginGroup
impl StructuralPartialEq for OriginGroup
Auto Trait Implementations§
impl Freeze for OriginGroup
impl RefUnwindSafe for OriginGroup
impl Send for OriginGroup
impl Sync for OriginGroup
impl Unpin for OriginGroup
impl UnwindSafe for OriginGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more