Get Distribution

cloudfront.get_distribution
ActionAmazon Web Servicesconnection required

Calls the AWS cloudfront API (SigV4).

Read one distribution's status and domain.

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, 1 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———

Output

One shape.

result

FieldTypeExample
distribution_id
string—
arn
Full ARN — CloudFront's tagging API takes this, not the id.
string—
status
string—
domain_name
string—
enabled
boolean—
{
  "arn": "",
  "distribution_id": "",
  "domain_name": "",
  "enabled": false,
  "status": ""
}

Related Amazon CloudFront nodes

See Get Distribution 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.