Skip to content

List Deployment Targets

codedeploy_list_deployment_targets R Documentation

Returns an array of target IDs that are associated a deployment

Description

Returns an array of target IDs that are associated a deployment.

Usage

codedeploy_list_deployment_targets(deploymentId, nextToken,
  targetFilters)

Arguments

deploymentId

[required] The unique ID of a deployment.

nextToken

A token identifier returned from the previous list_deployment_targets call. It can be used to return the next set of deployment targets in the list.

targetFilters

A key used to filter the returned targets. The two valid values are:

  • TargetStatus - A TargetStatus filter string can be Failed, InProgress, Pending, Ready, Skipped, Succeeded, or Unknown.

  • ServerInstanceLabel - A ServerInstanceLabel filter string can be Blue or Green.

Value

A list with the following syntax:

list(
  targetIds = list(
    "string"
  ),
  nextToken = "string"
)

Request syntax

svc$list_deployment_targets(
  deploymentId = "string",
  nextToken = "string",
  targetFilters = list(
    list(
      "string"
    )
  )
)