List Servers

migrationhubstrategy.list_servers
ActionAmazon Web Servicesconnection required

Calls the AWS migrationhubstrategy API (SigV4).

Returns a list of all the servers.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
AWS Migration Hub Strategy Recommendations
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
filter_value
Specifies the filter value, which is based on the type of server criteria. For example…
stringNo———
max_results
Maximum items to return.
numberNo50≥ 1—
next_token
Continues a previous run of this node: pass that run's paging token here. Leave blank to start at the first page.
stringNo———
server_criteria
Criteria for filtering servers.
stringNo———
sort
Specifies whether to sort by ascending (ASC) or descending (DESC) order.
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "max_results": 50
}

Output

One shape.

result

FieldTypeExample
nextToken
string—
serverInfos
array—
{
  "nextToken": "",
  "serverInfos": []
}

Related AWS Migration Hub Strategy Recommendations nodes

See List Servers run in a workflow.

In a technical demo we add the AWS Migration Hub Strategy Recommendations connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.