AWS CloudFront integration
Amazon CloudFront CDN API for managing content delivery distributions, cache behaviors, and invalidations. Create and configure distributions, manage origins, invalidate cached content, and monitor CDN performance.
Say what should happen.
The workflow builds itself.
Common AWS CloudFront use cases
- automate function management
- automate cache policy management
- automate distribution management
- automate origin access control management
- automate invalidation management
- automate resource management
- list tag programmatically
- Discover all edge data stores
- get function programmatically
- tag resource programmatically
What you can do with AWS CloudFront
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Function, 6 operations
create_functionCreate functionPOSTAgents: ask firstCreate a CloudFront Function (lightweight JavaScript function) for viewer request/response manipulation at edge locationsdelete_functionDelete functionDELETEAgents: ask firstDelete a CloudFront Function. It must not be associated with any distributionget_functionGet functionGETAgents: ask firstGet the code and metadata of a CloudFront Functionlist_functionsList functionsGETAgents: ask firstList all CloudFront Functions in the accountpublish_functionPublish functionPOSTAgents: ask firstPublish a CloudFront Function from DEVELOPMENT to LIVE stage, making it available for association with distributionsupdate_functionUpdate functionPUTAgents: ask firstUpdate the code or configuration of a CloudFront Function
Cache policy, 5 operations
create_cache_policyCreate cache policyPOSTAgents: ask firstCreate a cache policy defining what CloudFront includes in the cache key and TTL settingsdelete_cache_policyDelete cache policyDELETEAgents: ask firstDelete a custom cache policy. It must not be attached to any cache behaviorget_cache_policyGet cache policyGETAgents: ask firstGet the configuration of a specific cache policylist_cache_policiesList cache policiesGETAgents: ask firstList all cache policies (managed and custom) available in the accountupdate_cache_policyUpdate cache policyPUTAgents: ask firstUpdate an existing cache policy configuration
Distribution, 5 operations
create_distributionCreate distributionPOSTAgents: ask firstCreate a new CloudFront distribution with specified origins, cache behaviors, and settingsdelete_distributionDelete distributionDELETEAgents: ask firstDelete a CloudFront distribution. The distribution must be disabled and deployed before deletion. Requires current ETag via If-Match headerget_distributionGet distributionGETAgents: ask firstGet detailed information about a specific CloudFront distribution including configuration, status, and ETaglist_distributionsList distributionsGETAgents: ask firstList all CloudFront distributions in the account. Returns paginated list with distribution IDs, domain names, status, and aliasesupdate_distributionUpdate distributionPUTAgents: ask firstUpdate the configuration of an existing CloudFront distribution. Requires current ETag via If-Match header
Origin access control, 5 operations
create_origin_access_controlCreate origin access controlPOSTAgents: ask firstCreate a new origin access control (OAC) for securing S3 or other originsdelete_origin_access_controlDelete origin access controlDELETEAgents: ask firstDelete an origin access control. It must not be associated with any distributionget_origin_access_controlGet origin access controlGETAgents: ask firstGet details of a specific origin access controllist_origin_access_controlsList origin access controlsGETAgents: ask firstList all origin access controls (OAC) in the account used to authenticate CloudFront requests to originsupdate_origin_access_controlUpdate origin access controlPUTAgents: ask firstUpdate an existing origin access control configuration
Invalidation, 3 operations
create_invalidationCreate invalidationPOSTAgents: ask firstCreate an invalidation to remove objects from CloudFront edge caches before their TTL expiresget_invalidationGet invalidationGETAgents: ask firstGet the status and details of an invalidation requestlist_invalidationsList invalidationsGETAgents: ask firstList all invalidations for a distribution, paginated
Key value store, 2 operations
create_key_value_storeCreate key value storePOSTAgents: ask firstCreate a CloudFront KeyValueStore for storing key-value pairs accessible from CloudFront Functions.list_key_value_storesList key value storesGETAgents: ask firstList all CloudFront KeyValueStores in the account.
Resource, 2 operations
tag_resourceTag resourcePOSTAgents: ask firstAdd tags to a CloudFront resource (distribution, streaming distribution, etc.) for organization and cost allocationuntag_resourceUntag resourcePOSTAgents: ask firstRemove tags from a CloudFront resource
Continuous deployment policy, 1 operation
create_continuous_deployment_policyCreate continuous deployment policyPOSTAgents: ask firstCreate a continuous deployment policy to safely route traffic to a staging distribution.
Distribution config, 1 operation
get_distribution_configGet distribution configGETAgents: ask firstGet the configuration of a distribution (without status info). Returns ETag needed for updates
Tag, 1 operation
list_tags_for_resourceList tags for resourceGETAgents: ask firstList all tags attached to a CloudFront resource
Vpc origin, 1 operation
create_vpc_originCreate vpc originPOSTAgents: ask firstCreate a VPC origin to deliver content from private VPC resources through CloudFront.
Use AWS CloudFront from Claude Code, Cursor or Codex
Connect AWS CloudFront in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its AWS CloudFront operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect AWS CloudFront
- Create your workspace
Sign up free. Nothing to install.
- Connect AWS CloudFront once
Add your AWS CloudFront connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
AWS CloudFront integration FAQ
What can you do with the AWS CloudFront integration?
LiveContext exposes 32 operations on AWS CloudFront, covering function, cache policy, distribution and origin access control. Common uses include automate function management, automate cache policy management and automate distribution management.
