aws elbv2 modify-target-group
Modifies the health checks used when evaluating the health state of the targets in the specified target group
Options
Name | Description |
---|---|
--target-group-arn <string> | The Amazon Resource Name (ARN) of the target group |
--health-check-protocol <string> | The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The GENEVE, TLS, UDP, and TCP_UDP protocols are not supported for health checks. With Network Load Balancers, you can't modify this setting |
--health-check-port <string> | The port the load balancer uses when performing health checks on targets |
--health-check-path <string> | [HTTP/HTTPS health checks] The destination for health checks on the targets. [HTTP1 or HTTP2 protocol version] The ping path. The default is /. [GRPC protocol version] The path of a custom health check method with the format /package.service/method. The default is /AWS.ALB/healthcheck |
--health-check-enabled | Indicates whether health checks are enabled |
--no-health-check-enabled | Indicates whether health checks are enabled |
--health-check-interval-seconds <integer> | The approximate amount of time, in seconds, between health checks of an individual target. For TCP health checks, the supported values are 10 or 30 seconds. With Network Load Balancers, you can't modify this setting |
--health-check-timeout-seconds <integer> | [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check. With Network Load Balancers, you can't modify this setting |
--healthy-threshold-count <integer> | The number of consecutive health checks successes required before considering an unhealthy target healthy |
--unhealthy-threshold-count <integer> | The number of consecutive health check failures required before considering the target unhealthy. For target groups with a protocol of TCP or TLS, this value must be the same as the healthy threshold count |
--matcher <structure> | [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target. With Network Load Balancers, you can't modify this setting |
--cli-input-json <string> | Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally |
--generate-cli-skeleton <string> | Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command |