CloudFront OriginAccessControl API

The OriginAccessControl API from CloudFront — 2 operation(s) for originaccesscontrol.

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-originaccesscontrol-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 email required.

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

OpenAPI Specification

cloudfront-originaccesscontrol-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CloudFront CachePolicies OriginAccessControl 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: OriginAccessControl
paths:
  /2020-05-31/origin-access-control:
    get:
      summary: ListOriginAccessControls
      operationId: listOriginAccessControls
      tags:
      - OriginAccessControl
      responses:
        '200':
          description: List of OACs
    post:
      summary: CreateOriginAccessControl
      operationId: createOriginAccessControl
      tags:
      - OriginAccessControl
      responses:
        '201':
          description: OAC created
  /2020-05-31/origin-access-control/{Id}:
    parameters:
    - in: path
      name: Id
      required: true
      schema:
        type: string
    get:
      summary: GetOriginAccessControl
      operationId: getOriginAccessControl
      tags:
      - OriginAccessControl
      responses:
        '200':
          description: OAC details
    delete:
      summary: DeleteOriginAccessControl
      operationId: deleteOriginAccessControl
      tags:
      - OriginAccessControl
      parameters:
      - in: header
        name: If-Match
        schema:
          type: string
      responses:
        '204':
          description: OAC deleted
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).

        '