Show / Hide Table of Contents

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupfailovercriteria.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 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

object

Remarks

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

Back to top Generated by DocFX