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 |
Documentation
data FailoverConfig Source #
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
See: newFailoverConfig
smart constructor.
Instances
Create a value of FailoverConfig
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:primary:FailoverConfig'
, failoverConfig_primary
- The main Region of the endpoint.
$sel:secondary:FailoverConfig'
, failoverConfig_secondary
- The Region that events are routed to when failover is triggered or event
replication is enabled.
failoverConfig_primary :: Lens' FailoverConfig Primary Source #
The main Region of the endpoint.
failoverConfig_secondary :: Lens' FailoverConfig Secondary Source #
The Region that events are routed to when failover is triggered or event replication is enabled.