Properties for configuring the Service Bus integration in the event handler.
namespace.useExisting and queue.useExisting are independent. The supported combinations are:
namespace.useExisting
queue.useExisting
namespace.useExisting=false, queue.useExisting=false
namespace.useExisting=true, queue.useExisting=false
namespace.useExisting=true, queue.useExisting=true
namespace.useExisting=false, queue.useExisting=true
Optional
Service Bus namespace properties (extends ServiceBusNamespaceProps with useExisting)
useExisting
Service Bus queue properties (extends ServiceBusQueueProps with useExisting)
Properties for configuring the Service Bus integration in the event handler.
namespace.useExistingandqueue.useExistingare independent. The supported combinations are:namespace.useExisting=false, queue.useExisting=false— create both (default)namespace.useExisting=true, queue.useExisting=false— reuse an existing (e.g. shared) namespace, create a new queue under itnamespace.useExisting=true, queue.useExisting=true— reuse both (cross-stack reference to a queue someone else owns)namespace.useExisting=false, queue.useExisting=true— invalid; construct throws at construct-time