Experimental
@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
TcpHealthCheckOptions Struct
Properties used to define TCP Based healthchecks.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
import * as cdk from 'aws-cdk-lib';
const tcpHealthCheckOptions: apprunner_alpha.TcpHealthCheckOptions = {
healthyThreshold: 123,
interval: cdk.Duration.minutes(30),
timeout: cdk.Duration.minutes(30),
unhealthyThreshold: 123,
};
Properties
healthyThresholdnumberhealthy_thresholdint | floathealthyThresholdNumberHealthyThresholddoubleHealthyThreshold*float64= 1#The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
intervalDurationintervalDurationintervalDurationIntervalDurationIntervalDuration= Duration.seconds(5)#The time interval, in seconds, between health checks.
The time, in seconds, to wait for a health check response before deciding it failed.
unhealthyThresholdnumberunhealthy_thresholdint | floatunhealthyThresholdNumberUnhealthyThresholddoubleUnhealthyThreshold*float64= 5#The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.