interface HealthCheckCustomConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ServiceDiscovery.HealthCheckCustomConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsservicediscovery#HealthCheckCustomConfig |
![]() | software.amazon.awscdk.services.servicediscovery.HealthCheckCustomConfig |
![]() | aws_cdk.aws_servicediscovery.HealthCheckCustomConfig |
![]() | aws-cdk-lib » aws_servicediscovery » HealthCheckCustomConfig |
Specifies information about an optional custom health check.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as servicediscovery } from 'aws-cdk-lib';
const healthCheckCustomConfig: servicediscovery.HealthCheckCustomConfig = {
failureThreshold: 123,
};
Properties
Name | Type | Description |
---|---|---|
failure | number | The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance. |
failureThreshold?
Type:
number
(optional, default: 1)
The number of 30-second intervals that you want Cloud Map to wait after receiving an UpdateInstanceCustomHealthStatus request before it changes the health status of a service instance.