AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
An origin group includes two origins (a primary origin and a second origin to failover to) and a failover criteria that you specify. You create an origin group to support origin failover in CloudFront. When you create or update a distribution, you can specify the origin group instead of a single origin, and CloudFront will failover from the primary origin to the second origin under the failover conditions that you've chosen.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class OriginGroup
The OriginGroup type exposes the following members
Name | Description | |
---|---|---|
OriginGroup() |
Name | Type | Description | |
---|---|---|---|
FailoverCriteria | Amazon.CloudFront.Model.OriginGroupFailoverCriteria |
Gets and sets the property FailoverCriteria. A complex type that contains information about the failover criteria for an origin group. |
|
Id | System.String |
Gets and sets the property Id. The origin group's ID. |
|
Members | Amazon.CloudFront.Model.OriginGroupMembers |
Gets and sets the property Members. A complex type that contains information about the origins in an origin group. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5