Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data HealthCheck = HealthCheck' {}
- newHealthCheck :: Text -> Text -> HealthCheckConfig -> Natural -> HealthCheck
- healthCheck_linkedService :: Lens' HealthCheck (Maybe LinkedService)
- healthCheck_cloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration)
- healthCheck_id :: Lens' HealthCheck Text
- healthCheck_callerReference :: Lens' HealthCheck Text
- healthCheck_healthCheckConfig :: Lens' HealthCheck HealthCheckConfig
- healthCheck_healthCheckVersion :: Lens' HealthCheck Natural
Documentation
data HealthCheck Source #
A complex type that contains information about one health check that is associated with the current Amazon Web Services account.
See: newHealthCheck
smart constructor.
HealthCheck' | |
|
Instances
:: Text | |
-> Text | |
-> HealthCheckConfig | |
-> Natural | |
-> HealthCheck |
Create a value of HealthCheck
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:linkedService:HealthCheck'
, healthCheck_linkedService
- If the health check was created by another service, the service that
created the health check. When a health check is created by another
service, you can't edit or delete it using Amazon Route 53.
$sel:cloudWatchAlarmConfiguration:HealthCheck'
, healthCheck_cloudWatchAlarmConfiguration
- A complex type that contains information about the CloudWatch alarm that
Amazon Route 53 is monitoring for this health check.
$sel:id:HealthCheck'
, healthCheck_id
- The identifier that Amazon Route 53 assigned to the health check when
you created it. When you add or update a resource record set, you use
this value to specify which health check to use. The value can be up to
64 characters long.
$sel:callerReference:HealthCheck'
, healthCheck_callerReference
- A unique string that you specified when you created the health check.
$sel:healthCheckConfig:HealthCheck'
, healthCheck_healthCheckConfig
- A complex type that contains detailed information about one health
check.
$sel:healthCheckVersion:HealthCheck'
, healthCheck_healthCheckVersion
- The version of the health check. You can optionally pass this value in a
call to UpdateHealthCheck
to prevent overwriting another change to the
health check.
healthCheck_linkedService :: Lens' HealthCheck (Maybe LinkedService) Source #
If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
healthCheck_cloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration) Source #
A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
healthCheck_id :: Lens' HealthCheck Text Source #
The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
healthCheck_callerReference :: Lens' HealthCheck Text Source #
A unique string that you specified when you created the health check.
healthCheck_healthCheckConfig :: Lens' HealthCheck HealthCheckConfig Source #
A complex type that contains detailed information about one health check.
healthCheck_healthCheckVersion :: Lens' HealthCheck Natural Source #
The version of the health check. You can optionally pass this value in a
call to UpdateHealthCheck
to prevent overwriting another change to the
health check.