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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDistribution.OriginGroupFailoverCriteriaProperty
static final class
An implementation forCfnDistribution.OriginGroupFailoverCriteriaProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getStatusCodes
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.- See Also:
-
builder
-