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 Primary = Primary' {
- healthCheck :: Text
- newPrimary :: Text -> Primary
- primary_healthCheck :: Lens' Primary Text
Documentation
The primary Region of the endpoint.
See: newPrimary
smart constructor.
Primary' | |
|
Instances
FromJSON Primary Source # | |
ToJSON Primary Source # | |
Defined in Amazonka.CloudWatchEvents.Types.Primary | |
Generic Primary Source # | |
Read Primary Source # | |
Show Primary Source # | |
NFData Primary Source # | |
Defined in Amazonka.CloudWatchEvents.Types.Primary | |
Eq Primary Source # | |
Hashable Primary Source # | |
Defined in Amazonka.CloudWatchEvents.Types.Primary | |
type Rep Primary Source # | |
Defined in Amazonka.CloudWatchEvents.Types.Primary |
Create a value of Primary
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:healthCheck:Primary'
, primary_healthCheck
- The ARN of the health check used by the endpoint to determine whether
failover is triggered.