Selecione suas preferências de cookies

Usamos cookies essenciais e ferramentas semelhantes que são necessárias para fornecer nosso site e serviços. Usamos cookies de desempenho para coletar estatísticas anônimas, para que possamos entender como os clientes usam nosso site e fazer as devidas melhorias. Cookies essenciais não podem ser desativados, mas você pode clicar em “Personalizar” ou “Recusar” para recusar cookies de desempenho.

Se você concordar, a AWS e terceiros aprovados também usarão cookies para fornecer recursos úteis do site, lembrar suas preferências e exibir conteúdo relevante, incluindo publicidade relevante. Para aceitar ou recusar todos os cookies não essenciais, clique em “Aceitar” ou “Recusar”. Para fazer escolhas mais detalhadas, clique em “Personalizar”.

HealthCheckConfig

Modo de foco
HealthCheckConfig - Amazon VPC Lattice
Esta página não foi traduzida para seu idioma. Solicitar tradução

Describes the health check configuration of a target group. Health check configurations aren't used for target groups of type LAMBDA or ALB.

Contents

enabled

Indicates whether health checking is enabled.

Type: Boolean

Required: No

healthCheckIntervalSeconds

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 300.

Required: No

healthCheckTimeoutSeconds

The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 120.

Required: No

healthyThresholdCount

The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 10.

Required: No

matcher

The codes to use when checking for a successful response from a target.

Type: Matcher object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

path

The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is /. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 2048.

Pattern: (^/[a-zA-Z0-9@:%_+.~#?&/=-]*$|(^$))

Required: No

port

The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 65535.

Required: No

protocol

The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS. The default is HTTP.

Type: String

Valid Values: HTTP | HTTPS | TCP

Required: No

protocolVersion

The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2.

Type: String

Valid Values: HTTP1 | HTTP2

Required: No

unhealthyThresholdCount

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

Type: Integer

Valid Range: Minimum value of 0. Maximum value of 10.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

Nesta página

PrivacidadeTermos do sitePreferências de cookies
© 2025, Amazon Web Services, Inc. ou suas afiliadas. Todos os direitos reservados.