interface OriginGroupsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnDistribution.OriginGroupsProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnDistribution.OriginGroupsProperty |
Python | aws_cdk.aws_cloudfront.CfnDistribution.OriginGroupsProperty |
TypeScript | @aws-cdk/aws-cloudfront » CfnDistribution » OriginGroupsProperty |
A complex data type for the origin groups specified for a distribution.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloudfront from '@aws-cdk/aws-cloudfront';
const originGroupsProperty: cloudfront.CfnDistribution.OriginGroupsProperty = {
quantity: 123,
// the properties below are optional
items: [{
failoverCriteria: {
statusCodes: {
items: [123],
quantity: 123,
},
},
id: 'id',
members: {
items: [{
originId: 'originId',
}],
quantity: 123,
},
}],
};
Properties
Name | Type | Description |
---|---|---|
quantity | number | The number of origin groups. |
items? | IResolvable | IResolvable | Origin [] | The items (origin groups) in a distribution. |
quantity
Type:
number
The number of origin groups.
items?
Type:
IResolvable
|
IResolvable
|
Origin
[]
(optional)
The items (origin groups) in a distribution.