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

    • Default value: 3

  • 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

Examples#

c2-elb ModifyTargetGroup TargetGroupArn "tg_arn" HealthCheckIntervalSeconds 10
c2-elb ModifyTargetGroup TargetGroupArn "tg_arn" UnhealthyThresholdCount 5 HealthyThresholdCount 5