Azure Static Web Apps
Globally distributed static site hosting with a managed Azure Functions API, built from a repository.
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| caching | boolean | — | no | true | ▸ true |
| customDomains | integer | — | no | 2 | inherited |
| edgeCompute | boolean | — | no | false | ▸ false |
| hostingPlan | enum | free | standard | no | free | inherited |
| managed | boolean | — | no | true | ▸ true |
| maxAppSizeMb | integer | — | no | 250 | inherited |
| originShield | boolean | — | no | false | inherited |
| privateEndpoint | boolean | — | no | false | inherited |
| stagingEnvironments | integer | — | no | 3 | inherited |
| tls | boolean | — | no | true | ▸ true |
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.
nodes:
- { id: "static-web-apps", component: "azure-static-web-apps" }Alibaba Cloud CDNalibaba-cdnDynamic Route for CDNalibaba-dcdnEdge Security Accelerationalibaba-esaAWS Amplify Hostingaws-amplify-hostingAmazon CloudFrontcloudfrontAzure Content Delivery Networkazure-cdnMicrosoft Connected Cacheazure-connected-cacheAzure Front Doorazure-front-doorCloudflare CDNcloudflare-cdnCloudflare for SaaScloudflare-for-saasAkamaiakamaibunny.net CDNbunnyGeneric CDNcdnCDN77cdn77Content delivery networkcontent-delivery-networkDragonflydragonfly-d7yFastlyfastlyimgiximgixKeyCDNkeycdnNetlifynetlifyApache Traffic ServertrafficserverVercelvercelSpaces CDNdigitalocean-spaces-cdnGoogle Cloud CDNgoogle-cloud-cdnFirebase Hostinggoogle-firebase-hostingMedia CDNgoogle-media-cdnIBM Cloud Internet Servicesibm-internet-servicesOCI Media Streamsoci-media-streamsWeb Application Accelerationoci-web-application-acceleration
# 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