CloudFront Distributions API

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

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 27

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

POST /2020-05-31/distribution Create a CloudFront distribution · Create Distribution #
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 List CloudFront distributions · List Distributions #
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?WithTags Create Distribution With Tags #
DELETE /2020-05-31/distribution/{Id} Delete a CloudFront distribution · Delete Distribution #
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} Get a distribution's details and status · Get Distribution #
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.
PUT /2020-05-31/distribution/{TargetDistributionId}/associate-alias Associate Alias #
PUT /2020-05-31/distribution/{Id}/associate-web-acl Associate Distribution Web ACL #
POST /2020-05-31/distribution/{PrimaryDistributionId}/copy Copy Distribution #
POST /2020-05-31/distributions/{DistributionId}/monitoring-subscription Create Monitoring Subscription #
DELETE /2020-05-31/distributions/{DistributionId}/monitoring-subscription Delete Monitoring Subscription #
GET /2020-05-31/distributions/{DistributionId}/monitoring-subscription Get Monitoring Subscription #
PUT /2020-05-31/distribution/{Id}/disassociate-web-acl Disassociate Distribution Web ACL #
GET /2020-05-31/distribution/{Id}/config Get a distribution's configuration · Get Distribution Config #
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 · Update Distribution #
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}.
GET /2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId} List Distributions By Anycast Ip List Id #
GET /2020-05-31/distributionsByCachePolicyId/{CachePolicyId} List Distributions By Cache Policy Id #
GET /2020-05-31/distributionsByConnectionFunction List Distributions By Connection Function #
GET /2020-05-31/distributionsByConnectionMode/{ConnectionMode} List Distributions By Connection Mode #
GET /2020-05-31/distributionsByKeyGroupId/{KeyGroupId} List Distributions By Key Group #
GET /2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId} List Distributions By Origin Request Policy Id #
GET /2020-05-31/distributionsByOwnedResource/{ResourceArn} List Distributions By Owned Resource #
POST /2020-05-31/distributionsByRealtimeLogConfig List Distributions By Realtime Log Config #
GET /2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId} List Distributions By Response Headers Policy Id #
GET /2020-05-31/distributionsByTrustStore List Distributions By Trust Store #
GET /2020-05-31/distributionsByVpcOriginId/{VpcOriginId} List Distributions By Vpc Origin Id #
GET /2020-05-31/distributionsByWebACLId/{WebACLId} List Distributions By Web ACLId #
PUT /2020-05-31/distribution/{Id}/promote-staging-config Update Distribution With Staging Config #

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"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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.1.0
info:
  title: Amazon CloudFront Distributions API
  version: '2020-05-31'
  description: Generated from AWS's published Smithy model for Amazon CloudFront. 27 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://cloudfront.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (143 KB total) ---
# Full source: https://artifacts.apis.io/cloudfront/openapi/cloudfront-distributions-api-openapi.yml