Skip to main content
⚠️ AppKit is in an early development phase and is subject to change without notice. DO NOT use in production environments.

# Interface: ResourceRequirement

Declares a resource requirement for a plugin. Can be defined statically in a manifest or dynamically via getResourceRequirements().

## Extended by​

- `ResourceEntry`

## Properties​

### alias​

    alias: string;

Unique alias for this resource within the plugin (e.g., 'warehouse', 'secrets'). Used for UI/display.

### description​

    description: string;

Human-readable description of why this resource is needed

### fields​

    fields: Record<string, ResourceFieldEntry>;

Map of field name to env and optional description. Single-value types use one key (e.g. id); multi-value (database, secret) use multiple keys.

### permission​

    permission: ResourcePermission;

Required permission level for the resource

### required​

    required: boolean;

Whether this resource is required (true) or optional (false)

### resourceKey​

    resourceKey: string;

Stable key for machine use (env naming, composite keys, app.yaml). Required.

### type​

    type: ResourceType;

Type of Databricks resource required