Interface CfnDistribution.OriginGroupFailoverCriteriaProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.OriginGroupFailoverCriteriaProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.OriginGroupFailoverCriteriaProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 OriginGroupFailoverCriteriaProperty originGroupFailoverCriteriaProperty = OriginGroupFailoverCriteriaProperty.builder()
         .statusCodes(StatusCodesProperty.builder()
                 .items(List.of(123))
                 .quantity(123)
                 .build())
         .build();
 

See Also: