DocsAWS 101BlogServices

CloudFront

Distributions, origin access controls, cache/response-headers/origin-request policies, invalidations, public keys.

REST (XML/JSON) multi-tenant 21 operations

Quick start

import boto3
cf = boto3.client("cloudfront", endpoint_url="http://localhost:4566",
                  region_name="us-east-1",
                  aws_access_key_id="test", aws_secret_access_key="test")
cf.list_distributions()

Supported operations

21 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.

create_distribution create_invalidation create_oac DELETE delete_distribution delete_oac GET get_distribution get_distribution_config get_enabled get_invalidation get_oac get_oac_config list_distributions list_invalidations list_oacs list_tags POST PUT update_distribution update_oac

CloudFormation

The CloudFormation engine provisions these resource types via this service:

AWS::CloudFront::Distribution

See CloudFormation engine for intrinsic support and lifecycle details.

Known limitations

  • No actual edge caching or content delivery occurs — distributions are metadata.
  • OAC (Origin Access Control) request signing is not implemented.

Source

  • ministack/services/cloudfront.py:553-602

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.