Skip to content

Register Targets

vpclattice_register_targets R Documentation

Registers the targets with the target group

Description

Registers the targets with the target group. If it's a Lambda target, you can only have one target in a target group.

Usage

vpclattice_register_targets(targetGroupIdentifier, targets)

Arguments

targetGroupIdentifier

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

targets

[required] The targets.

Value

A list with the following syntax:

list(
  successful = list(
    list(
      id = "string",
      port = 123
    )
  ),
  unsuccessful = list(
    list(
      failureCode = "string",
      failureMessage = "string",
      id = "string",
      port = 123
    )
  )
)

Request syntax

svc$register_targets(
  targetGroupIdentifier = "string",
  targets = list(
    list(
      id = "string",
      port = 123
    )
  )
)