Struct rusoto_cloudfront::OriginGroup [−][src]
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: 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
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self