@gradientedge/cdk-utils-azure 2.10.0 → 2.11.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.
|
@@ -48,7 +48,7 @@ export class AzureEventHandler extends AzureFunctionApp {
|
|
|
48
48
|
* @summary Method to create the dead-letter queue storage account for EventGrid subscriptions
|
|
49
49
|
*/
|
|
50
50
|
createEventGridSubscriptionDlqStorageAccount() {
|
|
51
|
-
if (this.props.
|
|
51
|
+
if (!this.props.eventGridSubscription.dlqStorageAccount)
|
|
52
52
|
return;
|
|
53
53
|
this.eventGridEventSubscription.dlqStorageAccount = this.storageManager.createStorageAccount(`${this.id}-eventgrid-subscription-dlq-storage-account`, this, {
|
|
54
54
|
...this.props.eventGridSubscription.dlqStorageAccount,
|
|
@@ -60,7 +60,7 @@ export class AzureEventHandler extends AzureFunctionApp {
|
|
|
60
60
|
* @summary Method to create the dead-letter queue storage container for EventGrid subscriptions
|
|
61
61
|
*/
|
|
62
62
|
createEventGridSubscriptionDlqStorageContainer() {
|
|
63
|
-
if (this.
|
|
63
|
+
if (!this.eventGridEventSubscription.dlqStorageAccount)
|
|
64
64
|
return;
|
|
65
65
|
this.eventGridEventSubscription.dlqStorageContainer = this.storageManager.createStorageContainer(`${this.id}-eventgrid-subscription-dlq-container`, this, {
|
|
66
66
|
...this.props.eventGridSubscription.dlqStorageContainer,
|