aws-cdk
aws-cdk copied to clipboard
location: eventBridgeEnabled not working with CfnTracker
Describe the bug
The EventBridgeEnabled property in the Location Tracker is not present in the CfnTrackerProps. Even if I add it forcefully with an @ts-ignore, it does not reflect in the generated CloudFormation stack.
After struggling hard, I had to set it manually. Can you please fix this?
Expected Behavior
CfnTrackerProps should have a property eventBridgeEnabled, and it should map to the EventBridgeEnabled in the Location Tracker resource of the CloudFormation template
Current Behavior
The field is missing in the data type, and not mapped to the CloudFormation stack
Reproduction Steps
const cfnTracker = new location.CfnTracker(this, "MyCfnTracker", { trackerName: "AssetTracker", description: "description", positionFiltering: "AccuracyBased", eventBridgeEnabled: true, });
Possible Solution
The CfnTrackerProps Type should be updated to include this field, and it should be appropriately mapped to the generated CloudFormation template
Additional Information/Context
No response
CDK CLI Version
2.130.0
Framework Version
No response
Node.js Version
18.16.0
OS
Windows
Language
TypeScript
Language Version
No response
Other information
No response