Show / Hide Table of Contents

Interface CfnDistribution.IOriginGroupsProperty

A complex data type for the origin groups specified for a distribution.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IOriginGroupsProperty
Syntax (vb)
Public Interface IOriginGroupsProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroups.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 originGroupsProperty = new OriginGroupsProperty {
    Quantity = 123,

    // the properties below are optional
    Items = new [] { new OriginGroupProperty {
        FailoverCriteria = new OriginGroupFailoverCriteriaProperty {
            StatusCodes = new StatusCodesProperty {
                Items = new [] { 123 },
                Quantity = 123
            }
        },
        Id = "id",
        Members = new OriginGroupMembersProperty {
            Items = new [] { new OriginGroupMemberProperty {
                OriginId = "originId"
            } },
            Quantity = 123
        },

        // the properties below are optional
        SelectionCriteria = "selectionCriteria"
    } }
};

Synopsis

Properties

Items

The items (origin groups) in a distribution.

Quantity

The number of origin groups.

Properties

Items

The items (origin groups) in a distribution.

virtual object Items { get; }
Property Value

System.Object

Remarks

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

Quantity

The number of origin groups.

double Quantity { get; }
Property Value

System.Double

Remarks

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

Back to top Generated by DocFX