---
title: Static Web App
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Static Web App
---

# 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

| Title                         | ID   | Type          | Data Type                                                                                                                                                                                                                                    | Description |
| ----------------------------- | ---- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                          | core | string        |
| allow_config_file_updates     | core | bool          | false if config file is locked for this static web app; otherwise, true.                                                                                                                                                                     |
| branch                        | core | string        | The target branch in the repository.                                                                                                                                                                                                         |
| build_properties              | core | json          | Build properties for the static site.                                                                                                                                                                                                        |
| content_distribution_endpoint | core | string        | The content distribution endpoint for the static site.                                                                                                                                                                                       |
| custom_domains                | core | array<string> | The custom domains associated with this static site.                                                                                                                                                                                         |
| database_connections          | core | json          | Database connections for the static site                                                                                                                                                                                                     |
| default_hostname              | core | string        | The default autogenerated hostname for the static site.                                                                                                                                                                                      |
| enterprise_grade_cdn_status   | core | string        | State indicating the status of the enterprise grade CDN serving traffic to the static web app.                                                                                                                                               |
| id                            | core | string        | Resource Id.                                                                                                                                                                                                                                 |
| identity                      | core | json          | Managed service identity.                                                                                                                                                                                                                    |
| key_vault_reference_identity  | core | string        | Identity to use for Key Vault Reference authentication.                                                                                                                                                                                      |
| kind                          | core | string        | Kind 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_backends               | core | json          | Backends linked to the static side                                                                                                                                                                                                           |
| location                      | core | string        | Resource Location.                                                                                                                                                                                                                           |
| name                          | core | string        | Resource Name.                                                                                                                                                                                                                               |
| private_endpoint_connections  | core | json          | Private endpoint connections                                                                                                                                                                                                                 |
| provider                      | core | string        | The provider that submitted the last deployment to the primary environment of the static site.                                                                                                                                               |
| public_network_access         | core | string        | State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string.                                                                                                   |
| repository_token              | core | string        | A user's github repository token. This is used to setup the Github Actions workflow file and API secrets.                                                                                                                                    |
| repository_url                | core | string        | URL for the repository of the static site.                                                                                                                                                                                                   |
| resource_group                | core | string        |
| sku                           | core | json          | Description of a SKU for a scalable resource.                                                                                                                                                                                                |
| staging_environment_policy    | core | string        | State indicating whether staging environments are allowed or not allowed for a static web app.                                                                                                                                               |
| subscription_id               | core | string        |
| subscription_name             | core | string        |
| tags                          | core | hstore_csv    |
| template_properties           | core | json          | Template Options for the static site.                                                                                                                                                                                                        |
| type                          | core | string        | Resource type.                                                                                                                                                                                                                               |
| user_provided_function_apps   | core | json          | User provided function apps registered with the static site                                                                                                                                                                                  |
