Azure Static Web Apps

azureCDNazure-static-web-apps

Globally distributed static site hosting with a managed Azure Functions API, built from a repository.

Provider
azure
Kind
CDN
Category
Edge
Also known as
SWA
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
cachingboolean—notrue▸ true
customDomains · component propertyinteger—no2inherited
edgeComputeboolean—nofalse▸ false
hostingPlan · component propertyenumfree | standardnofreeinherited
managedboolean—notrue▸ true
maxAppSizeMb · component propertyinteger—no250inherited
originShieldboolean—nofalseinherited
privateEndpoint · component propertyboolean—nofalseinherited
stagingEnvironments · component propertyinteger—no3inherited
tlsboolean—notrue▸ true
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "static-web-apps", component: "azure-static-web-apps" }
Other CDN products · 29
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Azure Static Web Apps: static assets served from points distributed around the world with an API
# from managed Azure Functions ("What is Azure Static Web Apps?"). The Free plan is the entry plan:
# three staging environments, two custom domains, 250 MB, no private endpoints and no SLA ("plans").
schemaVersion: "1"
type: "component"
id: "azure-static-web-apps"
kind: "cdn"
provider: "azure"
docs: "https://learn.microsoft.com/en-us/azure/static-web-apps/plans"
aliases: ["SWA"]
defaults:
  managed: true
  caching: true
  tls: true
  edgeCompute: false
properties:
  hostingPlan:
    type: "enum"
    values: ["free", "standard"]
    default: "free"
  stagingEnvironments:
    type: "integer"
    default: 3
  customDomains:
    type: "integer"
    default: 2
  maxAppSizeMb:
    type: "integer"
    default: 250
  privateEndpoint:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/azure-static-web-apps.md