Class CfnDistribution.StatusCodesProperty
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.
Inheritance
System.Object
CfnDistribution.StatusCodesProperty
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StatusCodesProperty : Object, CfnDistribution.IStatusCodesProperty
Syntax (vb)
Public Class StatusCodesProperty
Inherits Object
Implements CfnDistribution.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
Constructors
StatusCodesProperty() |
Properties
Items | The items (status codes) for an origin group. |
Quantity | The number of status codes. |
Constructors
StatusCodesProperty()
public StatusCodesProperty()
Properties
Items
The items (status codes) for an origin group.
public object Items { get; set; }
Property Value
System.Object
Remarks
Quantity
The number of status codes.
public double Quantity { get; set; }
Property Value
System.Double