Skip to content

Infrastructure/Cloud/CDN

Field Value
Purpose Common CDN properties — origin, domain, cache TTL, compression
Repo AmadlaOrg/Entities/Infrastructure/Cloud/CDN
Entity URI amadla.org/entity/infrastructure/cloud/cdn@v1.0.0
Parent type Infrastructure/Cloud

Schema

Property Type Description
origin string Origin server URL or domain
domain string CDN domain or alias
cache_ttl integer Default cache TTL in seconds
compress boolean Enable compression for served content

Sub-types

Sub-type Provider
CDN/CloudFront AWS CloudFront
CDN/Cloudflare Cloudflare CDN
CDN/Fastly Fastly CDN

Example

_type: amadla.org/entity/infrastructure/cloud/cdn@v1.0.0
_extends: amadla.org/entity/infrastructure/cloud@v1.0.0
_body:
  origin: https://origin.example.com
  domain: cdn.example.com
  cache_ttl: 86400
  compress: true

Consumers

Tool How It Uses Infrastructure/Cloud/CDN
raise Provisions CDN distributions via provider-specific plugins