---
title: backend
summary: Class for dynamically creating new Fastly Backends.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/
---

**Kind:** Module  
**Package:** @fastly/js-compute 4.0.1  
**Path:** `backend`

Class for dynamically creating new [Fastly Backends](https://developer.fastly.com/reference/api/services/backend/).

## Classes

| Name | Summary |
| --- | --- |
| [Backend](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/class.Backend/) | Class for dynamically creating new [Fastly Backends](https://developer.fastly.com/reference/api/services/backend/). |

## Interfaces

| Name | Summary |
| --- | --- |
| [BackendConfiguration](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/interface.BackendConfiguration/) |  |
| [DefaultBackendConfiguration](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/interface.DefaultBackendConfiguration/) |  |

## Functions

| Name | Summary |
| --- | --- |
| [enforceExplicitBackends](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/fn.enforceExplicitBackends/) | Call this function to enforce the security property of explicitly-defined backends, even when dynamic backends are enabled at the Fastly service level. |
| [setDefaultDynamicBackendConfig](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/backend/fn.setDefaultDynamicBackendConfig/) | Set the default backend configuration options for dynamic backends. |
