Class CfnDistribution.OriginGroupsProperty
A complex data type for the origin groups specified for a distribution.
Inheritance
System.Object
CfnDistribution.OriginGroupsProperty
Implements
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.AWS.CloudFront.dll
Syntax (csharp)
public class OriginGroupsProperty : Object, CfnDistribution.IOriginGroupsProperty
Syntax (vb)
Public Class OriginGroupsProperty
Inherits Object
Implements CfnDistribution.IOriginGroupsProperty
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 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
}
} }
};
Synopsis
Constructors
OriginGroupsProperty() |
Properties
Items | The items (origin groups) in a distribution. |
Quantity | The number of origin groups. |
Constructors
OriginGroupsProperty()
public OriginGroupsProperty()
Properties
Items
The items (origin groups) in a distribution.
public object Items { get; set; }
Property Value
System.Object
Remarks
Quantity
The number of origin groups.
public double Quantity { get; set; }
Property Value
System.Double