Show / Hide Table of Contents

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 CfnDistribution.IStatusCodesProperty
Syntax (vb)
Public Interface CfnDistribution.IStatusCodesProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html#cfn-cloudfront-distribution-statuscodes-items

Type union: either (double)[] or IResolvable

Quantity

The number of status codes.

double Quantity { get; }
Property Value

double

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-statuscodes.html#cfn-cloudfront-distribution-statuscodes-quantity

Back to top Generated by DocFX