Struct aws_sdk_cloudfront::model::OriginGroup [−][src]
#[non_exhaustive]pub struct OriginGroup {
pub id: Option<String>,
pub failover_criteria: Option<OriginGroupFailoverCriteria>,
pub members: Option<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 (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The origin group's ID.
failover_criteria: Option<OriginGroupFailoverCriteria>
A complex type that contains information about the failover criteria for an origin group.
members: Option<OriginGroupMembers>
A complex type that contains information about the origins in an origin group.
Implementations
A complex type that contains information about the failover criteria for an origin group.
A complex type that contains information about the origins in an origin group.
Creates a new builder-style object to manufacture OriginGroup
Trait Implementations
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
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more