Interface OriginFailoverConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
OriginFailoverConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:29.319Z") @Stability(Stable) public interface OriginFailoverConfig extends software.amazon.jsii.JsiiSerializable
The failover configuration used for Origin Groups, returned in OriginBindConfig.failoverConfig.

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.*;
 IOrigin origin;
 OriginFailoverConfig originFailoverConfig = OriginFailoverConfig.builder()
         .failoverOrigin(origin)
         // the properties below are optional
         .statusCodes(List.of(123))
         .build();
 
  • Method Details