Skip to content

Update Target Group

vpclattice_update_target_group R Documentation

Updates the specified target group

Description

Updates the specified target group.

Usage

vpclattice_update_target_group(healthCheck, targetGroupIdentifier)

Arguments

healthCheck

[required] The health check configuration.

targetGroupIdentifier

[required] The ID or Amazon Resource Name (ARN) of the target group.

Value

A list with the following syntax:

list(
  arn = "string",
  config = list(
    healthCheck = list(
      enabled = TRUE|FALSE,
      healthCheckIntervalSeconds = 123,
      healthCheckTimeoutSeconds = 123,
      healthyThresholdCount = 123,
      matcher = list(
        httpCode = "string"
      ),
      path = "string",
      port = 123,
      protocol = "HTTP"|"HTTPS"|"TCP",
      protocolVersion = "HTTP1"|"HTTP2",
      unhealthyThresholdCount = 123
    ),
    ipAddressType = "IPV4"|"IPV6",
    lambdaEventStructureVersion = "V1"|"V2",
    port = 123,
    protocol = "HTTP"|"HTTPS"|"TCP",
    protocolVersion = "HTTP1"|"HTTP2"|"GRPC",
    vpcIdentifier = "string"
  ),
  id = "string",
  name = "string",
  status = "CREATE_IN_PROGRESS"|"ACTIVE"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_FAILED",
  type = "IP"|"LAMBDA"|"INSTANCE"|"ALB"
)

Request syntax

svc$update_target_group(
  healthCheck = list(
    enabled = TRUE|FALSE,
    healthCheckIntervalSeconds = 123,
    healthCheckTimeoutSeconds = 123,
    healthyThresholdCount = 123,
    matcher = list(
      httpCode = "string"
    ),
    path = "string",
    port = 123,
    protocol = "HTTP"|"HTTPS"|"TCP",
    protocolVersion = "HTTP1"|"HTTP2",
    unhealthyThresholdCount = 123
  ),
  targetGroupIdentifier = "string"
)