diff --git a/packages/@aws-cdk/custom-resource-handlers/lib/aws-s3/notifications-resource-handler/index.py b/packages/@aws-cdk/custom-resource-handlers/lib/aws-s3/notifications-resource-handler/index.py index 9ead5db5a42af..003d85675c0c8 100644 --- a/packages/@aws-cdk/custom-resource-handlers/lib/aws-s3/notifications-resource-handler/index.py +++ b/packages/@aws-cdk/custom-resource-handlers/lib/aws-s3/notifications-resource-handler/index.py @@ -72,7 +72,7 @@ def with_id(n): if EVENTBRIDGE_CONFIGURATION in existing_notifications: external_notifications[EVENTBRIDGE_CONFIGURATION] = existing_notifications[EVENTBRIDGE_CONFIGURATION] - # if delete, that's all we need + # If delete, that's all we need if request_type == 'Delete': return external_notifications