# ComputeScript

> Resource ComputeScript in pulumi-bunnynet.

<!-- Generated from the pulumi-bunnynet SDK. -->

Resource ComputeScript in pulumi-bunnynet.

Pulumi type: `bunnynet:index/computeScript:ComputeScript`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as bunnynet from "pulumi-bunnynet"

const resource = new bunnynet.ComputeScript("computeScript", {
  content: "<content>",
  type: "middleware",
})
```

## Arguments

| Property  | Type     | Required | Description                         |
| --------- | -------- | -------- | ----------------------------------- |
| `content` | `string` | yes      | The code of the script.             |
| `name`    | `string` | no       | The name of the script.             |
| `type`    | `string` | yes      | Options: `middleware`, `standalone` |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property          | Type     | Computed | Description                                    |
| ----------------- | -------- | -------- | ---------------------------------------------- |
| `computeScriptId` | `number` | yes      | The ID of the script.                          |
| `content`         | `string` | no       | The code of the script.                        |
| `deploymentKey`   | `string` | yes      | The deployment key for the script.             |
| `name`            | `string` | no       | The name of the script.                        |
| `release`         | `string` | yes      | The current release identifier for the script. |
| `type`            | `string` | no       | Options: `middleware`, `standalone`            |
