Invalidate Cache

cloudfront.create_invalidation
ActionAmazon Web Servicesconnection required

Calls the AWS cloudfront API (SigV4).

Invalidate cached paths at the edge.

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

4 fields, 2 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———
distribution_id
Id of the distribution to act on, from cloudfront.list_distributions — not its name.
stringYes———
paths
Paths to invalidate, e.g. ["/*"].
arrayYes—≥ 1 characters; array of string—
caller_reference
Reuse to make a retry idempotent.
stringNo———

Output

One shape.

result

FieldTypeExample
invalidation_id
string—
status
string—
caller_reference
The idempotency token CloudFront recorded for this invalidation.
string—
path_count
number—
{
  "caller_reference": "",
  "invalidation_id": "",
  "path_count": 0,
  "status": ""
}

Related Amazon CloudFront nodes

See Invalidate Cache 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.