Static Web App

Azure Static Web App provides hosting for modern web applications with static front ends and optional serverless back ends. It automatically builds and deploys code from a connected repository, offers global distribution through a built‑in CDN, and integrates authentication, routing, and custom domains.

azure.web_static_site

Fields

TitleIDTypeData TypeDescription
_keycorestring
allow_config_file_updatescoreboolfalse if config file is locked for this static web app; otherwise, true.
branchcorestringThe target branch in the repository.
build_propertiescorejsonBuild properties for the static site.
content_distribution_endpointcorestringThe content distribution endpoint for the static site.
custom_domainscorearray<string>The custom domains associated with this static site.
database_connectionscorejsonDatabase connections for the static site
default_hostnamecorestringThe default autogenerated hostname for the static site.
enterprise_grade_cdn_statuscorestringState indicating the status of the enterprise grade CDN serving traffic to the static web app.
idcorestringResource Id.
identitycorejsonManaged service identity.
key_vault_reference_identitycorestringIdentity to use for Key Vault Reference authentication.
kindcorestringKind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
linked_backendscorejsonBackends linked to the static side
locationcorestringResource Location.
namecorestringResource Name.
private_endpoint_connectionscorejsonPrivate endpoint connections
providercorestringThe provider that submitted the last deployment to the primary environment of the static site.
public_network_accesscorestringState indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.
repository_tokencorestringA user's github repository token. This is used to setup the Github Actions workflow file and API secrets.
repository_urlcorestringURL for the repository of the static site.
resource_groupcorestring
skucorejsonDescription of a SKU for a scalable resource.
staging_environment_policycorestringState indicating whether staging environments are allowed or not allowed for a static web app.
subscription_idcorestring
subscription_namecorestring
tagscorehstore_csv
template_propertiescorejsonTemplate Options for the static site.
typecorestringResource type.
user_provided_function_appscorejsonUser provided function apps registered with the static site