TargetGroup
In this article:
TargetGroup#
Detailed description of a target group.
Contents#
HealthCheckEnabled — Indicates whether health check is enabled.
Type: Boolean
Required: No
Допустимые значения:
True
Default value:
True
HealthCheckIntervalSeconds — The interval between target health checks.
Type: Integer
Required: No
Допустимые значения:
10
|30
для ELB с типомnetwork
; от 5 до 300 для ELB с типомapplication
Default value:
30
HealthCheckPath - Путь HTTP для проверки доступности целевых ресурсов.
Type: String
Required: No
Допустимые значения:
/
Значение по умолчанию:
/
HealthCheckPort — Порт, используемый для проверки доступности целевых ресурсов. Значение
traffic-port
указывает, что для проверки доступности используется порт, на котором целевой ресурс принимает запросы.Type: String
Required: No
Valid values:
traffic-port
Значение по умолчанию:
traffic-port
HealthCheckProtocol — The protocol used to perform health checks on targets.
Type: String
Required: No
Constraints: It must match the protocol used by the target group
Valid values:
TCP
|UDP
|HTTP
HealthCheckTimeoutSeconds — The amount of time, after which no response from a target means a failed health check, in seconds.
Type: Integer
Required: No
Range: 2 to 120
Constraints: Cannot be changed for ELB of the
network
typeЗначение по умолчанию:
10
для ELB с типомnetwork
,5
для ELB с типомapplication
HealthyThresholdCount — Number of successful health checks after which the target status changes to
healthy
.Type: Integer
Required: No
Valid range: From 2 to 10
Constraints: The value must match the value of UnhealthyThresholdCount
Default value:
3
forTCP
andUDP
target groups,5
forHTTP
target groups
Matcher — The HTTP code used to check the target availability.
Type: Matcher object
Required: No
IpAddressType — The type of IP addresses used by ELB.
Type: String
Required: No
Valid values:
ipv4
Port — The port on which targets receive requests.
Type: Integer
Required: No
Valid range: From 1 to 65535
Default value: The Port value of the target group
Protocol — The protocol used to route traffic to targets.
Type: String
Required: Yes
Valid values:
TCP
|UDP
|HTTP
TargetGroupArn — The Amazon Resource Name (ARN) of the target group.
Type: String
Required: Yes
TargetGroupName — The target group name.
Type: String
Required: Yes
Constraints: 1 to 32 ASCII characters
TargetType — The target type. A target group may contain targets of one type only.
Type: String
Required: No
Valid values:
instance
Default value:
instance
UnhealthyThresholdCount — Number of unsuccessful health checks after which the target status changes to
unhealthy
.Type: Integer
Required: No
Valid range: From 2 to 10
Constraints: The value must match the value of HealthyThresholdCount
Default value:
3
forTCP
andUDP
target groups,2
forHTTP
target groups
VpcId — The ID of the VPC.
Type: String
Required: Yes