Watch Aspire live streamsDocsTry Aspire

DenoAppResource.withDenoDeny

Method
📦 Aspire.Hosting.JavaScript v13.6.0
interface DenoAppResource {
// ... omitted for brevity
withDenoDeny(
kind: DenoPermissionKind,
values: string[]): DenoAppResource;
}

Signature

methodwithDenoDenybuilder
Denies a Deno permission, optionally scoped to the supplied values.
withDenoDeny(
kind: DenoPermissionKind,
values: string[]): DenoAppResource
kindDenoPermissionKind
valuesstring[]
DenoAppResource

Defined on

This method is defined on the following type: