Interface CfnDistribution.IStatusCodesProperty
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.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStatusCodesProperty
Syntax (vb)
Public Interface IStatusCodesProperty
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 statusCodesProperty = new StatusCodesProperty {
Items = new [] { 123 },
Quantity = 123
};
Synopsis
Properties
Items | The items (status codes) for an origin group. |
Quantity | The number of status codes. |
Properties
Items
The items (status codes) for an origin group.
object Items { get; }
Property Value
System.Object
Remarks
Quantity
The number of status codes.
double Quantity { get; }
Property Value
System.Double