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
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
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
Quantity
The number of origin groups.
double Quantity { get; }
Property Value
System.Double