Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifyTargetGroupCommand

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

If the protocol of the target group is TCP, TLS, UDP, or TCP_UDP, you can't modify the health check protocol, interval, timeout, or success codes.

example

Use a bare-bones client and the command you need to make an API call.

import { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
// const { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
const client = new ElasticLoadBalancingV2Client(config);
const command = new ModifyTargetGroupCommand(input);
const response = await client.send(command);
see

ModifyTargetGroupCommandInput for command's input shape.

see

ModifyTargetGroupCommandOutput for command's response shape.

see

config for ElasticLoadBalancingV2Client's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ModifyTargetGroupCommandInput

Readonly middlewareStack