The asserts for RequestType, StackId, and LogicalResourceId are fine, but the bridge will not call your script if they are not set.