## ResourceMatchesSubscriptionCriteria type [​](/content/docs/sdk/core.resourcematchessubscriptioncriteria#resourcematchessubscriptioncriteria-type/index.html)

**Signature:**

```typescript
export type ResourceMatchesSubscriptionCriteria = {

resource: Resource;

subscription: Subscription;

context: BackgroundJobContext;

logger?: Logger;

getPreviousResource: (currentResource: Resource) => Promise<Resource | undefined>;

};
```

**References:** [BackgroundJobContext](/content/docs/sdk/core.backgroundjobcontext), [Logger](/content/docs/sdk/core.logger)  
- [ResourceMatchesSubscriptionCriteria type](/content/docs/sdk/core.resourcematchessubscriptioncriteria#resourcematchessubscriptioncriteria-type/index.html)
