Struct aws_sdk_cloudfront::model::OriginGroupFailoverCriteria [−][src]
#[non_exhaustive]pub struct OriginGroupFailoverCriteria {
pub status_codes: Option<StatusCodes>,
}
Expand description
A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.
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.status_codes: Option<StatusCodes>
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
Implementations
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
Creates a new builder-style object to manufacture OriginGroupFailoverCriteria
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 OriginGroupFailoverCriteria
impl Send for OriginGroupFailoverCriteria
impl Sync for OriginGroupFailoverCriteria
impl Unpin for OriginGroupFailoverCriteria
impl UnwindSafe for OriginGroupFailoverCriteria
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