Interface CfnDistribution.StatusCodesProperty

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

@Stability(Stable) public static interface CfnDistribution.StatusCodesProperty extends software.amazon.jsii.JsiiSerializable
A complex data type for the status codes that you specify that, when returned by a primary origin, trigger CloudFront to failover to a 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.*;
 StatusCodesProperty statusCodesProperty = StatusCodesProperty.builder()
         .items(List.of(123))
         .quantity(123)
         .build();
 

See Also: