CloudFront Distributions API

The Distributions API from CloudFront — 3 operation(s) for distributions.

Business capability
IT Infrastructure Management BC-600.50

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /2020-05-31/distribution List CloudFront distributions · ListDistributions #
Ask an LLM
“Which CloudFront distributions exist in my AWS account?”
“Can I page through my distributions a few at a time instead of getting them all at once?”
Tell an agent
List all of my CloudFront distributions.
List up to {max_items} distributions starting after marker {marker}.
POST /2020-05-31/distribution Create a CloudFront distribution · CreateDistribution #
Ask an LLM
“How do I set up a new CloudFront distribution in front of my origin?”
“Can I create a brand-new CDN distribution through the API?”
Tell an agent
Create a new CloudFront distribution for my site.
Set up a fresh CDN distribution to serve my origin.
GET /2020-05-31/distribution/{Id} Get a distribution's details and status · GetDistribution #
Ask an LLM
“Has my distribution finished deploying, or is it still in progress?”
“Where can I see the domain name and current status of one distribution?”
Tell an agent
Get the details and deployment status of distribution {id}.
Show me distribution {id}, including its domain name.
DELETE /2020-05-31/distribution/{Id} Delete a CloudFront distribution · DeleteDistribution #
Ask an LLM
“How do I permanently remove a CloudFront distribution I no longer need?”
“Does deleting a distribution require the current ETag value?”
Tell an agent destructive · confirm first
Delete distribution {id}.
Delete distribution {id} using ETag {etag}.
GET /2020-05-31/distribution/{Id}/config Get a distribution's configuration · GetDistributionConfig #
Ask an LLM
“Where do I read just the configuration settings of a distribution before editing them?”
“Can I fetch a distribution's config along with the ETag I need to update it?”
Tell an agent
Get the configuration of distribution {id}.
Fetch the current config and ETag for distribution {id} so I can edit it.
PUT /2020-05-31/distribution/{Id}/config Update a distribution's configuration · UpdateDistribution #
Ask an LLM
“How do I change the settings of an existing CloudFront distribution?”
“Can I disable a distribution by updating its configuration?”
Tell an agent
Update the configuration of distribution {id}.
Save the edited config for distribution {id} with ETag {etag}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudfront:cloudfront-distributions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudfront-distributions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon CloudFront Distributions API
  description: 'Best-effort OpenAPI 3.1 description of a subset of the Amazon CloudFront

    REST API (API version 2020-05-31). CloudFront is AWS''s global content

    delivery network. Requests are signed with AWS Signature Version 4 using

    the `cloudfront` service name and the `us-east-1` region. This document

    covers commonly used distribution, invalidation, origin access control,

    cache policy, function, and public key operations; CloudFront exposes

    over 100 additional operations not enumerated here.'
  version: '2020-05-31'
  contact:
    name: AWS CloudFront
    url: https://docs.aws.amazon.com/cloudfront/latest/APIReference/Welcome.html
servers:
- url: https://cloudfront.amazonaws.com
security:
- sigv4: []
tags:
- name: Distributions
paths:
  /2020-05-31/distribution:
    get:
      summary: ListDistributions
      operationId: listDistributions
      tags:
      - Distributions
      parameters:
      - in: query
        name: Marker
        schema:
          type: string
      - in: query
        name: MaxItems
        schema:
          type: integer
      responses:
        '200':
          description: A list of distributions
    post:
      summary: CreateDistribution
      operationId: createDistribution
      tags:
      - Distributions
      responses:
        '201':
          description: Distribution created
  /2020-05-31/distribution/{Id}:
    parameters:
    - in: path
      name: Id
      required: true
      schema:
        type: string
    get:
      summary: GetDistribution
      operationId: getDistribution
      tags:
      - Distributions
      responses:
        '200':
          description: Distribution details
    delete:
      summary: DeleteDistribution
      operationId: deleteDistribution
      tags:
      - Distributions
      parameters:
      - in: header
        name: If-Match
        schema:
          type: string
      responses:
        '204':
          description: Distribution deleted
  /2020-05-31/distribution/{Id}/config:
    parameters:
    - in: path
      name: Id
      required: true
      schema:
        type: string
    get:
      summary: GetDistributionConfig
      operationId: getDistributionConfig
      tags:
      - Distributions
      responses:
        '200':
          description: Distribution config
    put:
      summary: UpdateDistribution
      operationId: updateDistribution
      tags:
      - Distributions
      parameters:
      - in: header
        name: If-Match
        schema:
          type: string
      responses:
        '200':
          description: Distribution updated
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: 'AWS Signature Version 4. Signing service name is `cloudfront`,

        signing region is `us-east-1`. Authorization is supplied via

        `Authorization` and `X-Amz-Date` headers (and `X-Amz-Security-Token`

        when using temporary credentials).

        '