ModifyTargetGroup
In this article:
ModifyTargetGroup#
Description#
Request to create a target group.
Request Parameters#
Required parameters#
TargetGroupArn — The Amazon Resource Name (ARN) of the target group.
Type: String
Required: Yes
Optional parameters#
HealthCheckIntervalSeconds — Interval between target health checks, in seconds.
Type: Integer
Required: No
Valid values:
10
|30
Default value:
30
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
Значение по умолчанию:
3
для целевых группTCP
иUDP
,5
для целевых группHTTP
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
Значение по умолчанию:
3
для целевых группTCP
иUDP
,2
для целевых группHTTP
Response Elements#
TargetGroups.N — Information about target groups.
Type: List of TargetGroup objects
Examples#
c2-elb ModifyTargetGroup TargetGroupArn "tg_arn" HealthCheckIntervalSeconds 10
c2-elb ModifyTargetGroup TargetGroupArn "tg_arn" UnhealthyThresholdCount 5 HealthyThresholdCount 5