List Distributions

cloudfront.list_distributions
ActionAmazon Web Servicesconnection required

Calls the AWS cloudfront API (SigV4).

List CDN distributions.

Connection

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

Configuration

2 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———
next_token
Continue from a previous run of this node by passing that run's next_token output; leave blank for the first page.
stringNo———

Output

One shape.

result

FieldTypeExample
distributions
One entry per distribution: distribution_id, arn (what CloudFront's tagging API takes — it refuses the id), domain_name, status, enabled and comment.
array—
count
number—
next_token
Token for the next page; empty when there are no further pages.
string—
{
  "count": 0,
  "distributions": [],
  "next_token": ""
}

Notes

  • Global service — always signed for us-east-1.

Related Amazon CloudFront nodes

See List Distributions run in a workflow.

In a technical demo we add the Amazon CloudFront connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.