OriginGroup class
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 specifiy 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.
Constructors
- OriginGroup({required OriginGroupFailoverCriteria failoverCriteria, required String id, required OriginGroupMembers members})
- OriginGroup.fromXml(XmlElement elem)
-
factory
Properties
- failoverCriteria → OriginGroupFailoverCriteria
-
A complex type that contains information about the failover criteria for an
origin group.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The origin group's ID.
final
- members → OriginGroupMembers
-
A complex type that contains information about the origins in an origin
group.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
String elemName, {List< XmlAttribute> ? attributes}) → XmlElement
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited