http.additional_rules.`healthcheck` String or Map If you specify a string, Copilot interprets it as the path exposed in your container to handle target group health check requests. The default is "/". ```yaml http: additional_rules: - healthcheck: '/' ``` You can also specify healthcheck as a map: ```yaml http: additional_rules: - healthcheck: path: '/' port: 8080 success_codes: '200' healthy_threshold: 3 unhealthy_threshold: 2 interval: 15s timeout: 10s ``` http.additional_rules.healthcheck.`path` String The destination that the health check requests are sent to. http.additional_rules.healthcheck.`port` Integer The port that the health check requests are sent to. The default is [`image.port`](./#image-port), or the port exposed by [`http.target_container`](./#http-target-container), if set. If the port exposed is `443`, then the health check protocol is automatically set to HTTPS. http.additional_rules.healthcheck.`success_codes` String The HTTP status codes that healthy targets must use when responding to an HTTP health check. You can specify values between 200 and 499. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299"). The default is 200. http.additional_rules.healthcheck.`healthy_threshold` Integer The number of consecutive health check successes required before considering an unhealthy target healthy. The default is 5. Range: 2-10. http.additional_rules.healthcheck.`unhealthy_threshold` Integer The number of consecutive health check failures required before considering a target unhealthy. The default is 2. Range: 2-10. http.additional_rules.healthcheck.`interval` Duration The approximate amount of time, in seconds, between health checks of an individual target. The default is 30s. Range: 5s–300s. http.additional_rules.healthcheck.`timeout` Duration The amount of time, in seconds, during which no response from a target means a failed health check. The default is 5s. Range 5s-300s.