@gradientedge/cdk-utils-azure 2.8.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,4 +60,5 @@ export declare class AzureEventHandler extends AzureFunctionApp {
60
60
  */
61
61
  protected enableMalwareScanningOnDataStorageAccount(): void;
62
62
  protected createFunctionAppSiteConfig(): void;
63
+ protected dashboardVariables(): Record<string, any>;
63
64
  }
@@ -224,4 +224,13 @@ export class AzureEventHandler extends AzureFunctionApp {
224
224
  },
225
225
  ];
226
226
  }
227
+ dashboardVariables() {
228
+ const variables = super.dashboardVariables();
229
+ return {
230
+ ...variables,
231
+ servicebusNamespaceName: this.serviceBus.namespace.name,
232
+ eventHandlerEventgridTopic: this.eventGridTopic.name,
233
+ eventGridEventSubscriptionName: this.eventGridEventSubscription.eventSubscription?.name,
234
+ };
235
+ }
227
236
  }
@@ -11,9 +11,9 @@ export interface EventHandlerEventGridSubscriptionProps {
11
11
  }
12
12
  /** @category Interface */
13
13
  export interface EventHandlerEventGridSubscription {
14
- dlqStorageAccount: StorageAccount;
15
- dlqStorageContainer: BlobContainer;
16
- eventSubscription: EventSubscription;
14
+ dlqStorageAccount?: StorageAccount;
15
+ dlqStorageContainer?: BlobContainer;
16
+ eventSubscription?: EventSubscription;
17
17
  }
18
18
  /** @category Interface */
19
19
  export interface EventHandlerServiceBusProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils-azure",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "description": "Azure Pulumi utilities for @gradientedge/cdk-utils",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",