選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

TargetGroup - Elastic Load Balancing
此頁面尚未翻譯為您的語言。 請求翻譯

TargetGroup

Information about a target group.

Contents

HealthCheckEnabled

Indicates whether health checks are enabled.

Type: Boolean

Required: No

HealthCheckIntervalSeconds

The approximate amount of time, in seconds, between health checks of an individual target.

Type: Integer

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

Required: No

HealthCheckPath

The destination for health checks on the targets.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Required: No

HealthCheckPort

The port to use to connect with the target.

Type: String

Required: No

HealthCheckProtocol

The protocol to use to connect with the target. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks.

Type: String

Valid Values: HTTP | HTTPS | TCP | TLS | UDP | TCP_UDP | GENEVE

Required: No

HealthCheckTimeoutSeconds

The amount of time, in seconds, during which no response means a failed health check.

Type: Integer

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

Required: No

HealthyThresholdCount

The number of consecutive health checks successes required before considering an unhealthy target healthy.

Type: Integer

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

Required: No

IpAddressType

The IP address type. The default value is ipv4.

Type: String

Valid Values: ipv4 | ipv6

Required: No

LoadBalancerArns.member.N

The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.

Type: Array of strings

Required: No

Matcher

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

Type: Matcher object

Required: No

Port

The port on which the targets are listening. This parameter is not used if the target is a Lambda function.

Type: Integer

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

Required: No

Protocol

The protocol to use for routing traffic to the targets.

Type: String

Valid Values: HTTP | HTTPS | TCP | TLS | UDP | TCP_UDP | GENEVE

Required: No

ProtocolVersion

[HTTP/HTTPS protocol] The protocol version. The possible values are GRPC, HTTP1, and HTTP2.

Type: String

Required: No

TargetGroupArn

The Amazon Resource Name (ARN) of the target group.

Type: String

Required: No

TargetGroupName

The name of the target group.

Type: String

Required: No

TargetType

The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), lambda (register a single Lambda function as a target), or alb (register a single Application Load Balancer as a target).

Type: String

Valid Values: instance | ip | lambda | alb

Required: No

UnhealthyThresholdCount

The number of consecutive health check failures required before considering the target unhealthy.

Type: Integer

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

Required: No

VpcId

The ID of the VPC for the targets.

Type: String

Required: No

See Also

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

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。