Open iRoachie opened 1 year ago
The current EventBus construct doesn't allow enabling schema discovery.
Need to enable schema discovery for an event bus without using L1 constructs.
This behaviour is supported in Cloudformation through AWS::EventSchemas::Discoverer.
AWS::EventSchemas::Discoverer
This should be easily implemented on the EventBus.
e.g
const eventBus = new EventBus(this, 'poll-events', { schemaDiscovery: true });
or to enable tagging we can do:
const eventBus = new EventBus(this, 'poll-events') const discoverer = eventBus.addDiscoverer() cdk.Tags.of(discoverer).add('my-tag', 'yup')
No response
2.88.0
Mac OS 13.4.1
Sounds like we'll need to create a new L2 for AWS::EventSchemas::Discoverer or just create CfnDiscoverer L1 in EventBus L2?
I'm thinking the latter
Describe the feature
The current EventBus construct doesn't allow enabling schema discovery.
Use Case
Need to enable schema discovery for an event bus without using L1 constructs.
Proposed Solution
This behaviour is supported in Cloudformation through
AWS::EventSchemas::Discoverer
.This should be easily implemented on the EventBus.
e.g
or to enable tagging we can do:
Other Information
No response
Acknowledgements
CDK version used
2.88.0
Environment details (OS name and version, etc.)
Mac OS 13.4.1