# InitializeResourceEvent

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.3.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface InitializeResourceEvent
  extends IDistributedApplicationEvent,
    IDistributedApplicationResourceEvent {
  readonly eventing: IDistributedApplicationEventing;
  readonly logger: ILogger;
  readonly notifications: ResourceNotificationService;
  readonly resource: IResource;
  readonly services: IServiceProvider;
}
```

## Properties

- `eventing`: [IDistributedApplicationEventing](/reference/api/typescript/aspire.hosting/idistributedapplicationeventing.md) `get` -- Gets the Eventing property
- `logger`: `ILogger` `get` -- Gets the Logger property
- `notifications`: [ResourceNotificationService](/reference/api/typescript/aspire.hosting/resourcenotificationservice.md) `get` -- Gets the Notifications property
- `resource`: [IResource](/reference/api/typescript/aspire.hosting/iresource.md) `get` -- Gets the Resource property
- `services`: `IServiceProvider` `get` -- Gets the Services property
