AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.OriginGroup

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class OriginGroup

The OriginGroup type exposes the following members

Constructors

NameDescription
Public Method OriginGroup()

Properties

NameTypeDescription
Public Property 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.

Public Property Id System.String

Gets and sets the property Id.

The origin group's ID.

Public Property Members Amazon.CloudFront.Model.OriginGroupMembers

Gets and sets the property Members.

A complex type that contains information about the origins in an origin group.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5