Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OriginGroup = OriginGroup' {}
- newOriginGroup :: Text -> OriginGroupFailoverCriteria -> OriginGroupMembers -> OriginGroup
- originGroup_id :: Lens' OriginGroup Text
- originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria
- originGroup_members :: Lens' OriginGroup OriginGroupMembers
Documentation
data OriginGroup Source #
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.
See: newOriginGroup
smart constructor.
OriginGroup' | |
|
Instances
Create a value of OriginGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:OriginGroup'
, originGroup_id
- The origin group's ID.
$sel:failoverCriteria:OriginGroup'
, originGroup_failoverCriteria
- A complex type that contains information about the failover criteria for
an origin group.
$sel:members:OriginGroup'
, originGroup_members
- A complex type that contains information about the origins in an origin
group.
originGroup_id :: Lens' OriginGroup Text Source #
The origin group's ID.
originGroup_failoverCriteria :: Lens' OriginGroup OriginGroupFailoverCriteria Source #
A complex type that contains information about the failover criteria for an origin group.
originGroup_members :: Lens' OriginGroup OriginGroupMembers Source #
A complex type that contains information about the origins in an origin group.