Interface CfnDistribution.IOriginGroupFailoverCriteriaProperty
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.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOriginGroupFailoverCriteriaProperty
Syntax (vb)
Public Interface IOriginGroupFailoverCriteriaProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var originGroupFailoverCriteriaProperty = new OriginGroupFailoverCriteriaProperty {
StatusCodes = new StatusCodesProperty {
Items = new [] { 123 },
Quantity = 123
}
};
Synopsis
Properties
StatusCodes | The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin. |
Properties
StatusCodes
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
object StatusCodes { get; }
Property Value
System.Object