interface StatusCodesProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.CloudFront.CfnDistribution.StatusCodesProperty | 
|  Java | software.amazon.awscdk.services.cloudfront.CfnDistribution.StatusCodesProperty | 
|  Python | aws_cdk.aws_cloudfront.CfnDistribution.StatusCodesProperty | 
|  TypeScript | @aws-cdk/aws-cloudfront»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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudfront from '@aws-cdk/aws-cloudfront';
const statusCodesProperty: cloudfront.CfnDistribution.StatusCodesProperty = {
  items: [123],
  quantity: 123,
};
Properties
| Name | Type | Description | 
|---|---|---|
| items | number[] | IResolvable | The items (status codes) for an origin group. | 
| quantity | number | The number of status codes. | 
items
Type:
number[] | IResolvable
The items (status codes) for an origin group.
quantity
Type:
number
The number of status codes.
