aws-cdk-lib.aws_servicediscovery.HealthCheckCustomConfig

interface HealthCheckCustomConfig

LanguageType name
.NETAmazon.CDK.AWS.ServiceDiscovery.HealthCheckCustomConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsservicediscovery#HealthCheckCustomConfig
Javasoftware.amazon.awscdk.services.servicediscovery.HealthCheckCustomConfig
Pythonaws_cdk.aws_servicediscovery.HealthCheckCustomConfig
TypeScript (source)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

NameTypeDescription
failureThreshold?numberThe 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.