It seems that aws batch version I am using wants schedulingPriorityOverride as the parameter name so I created an extended class to have this parameter in the AWSBatchConfig. Need to associate this class I made with the AWSBatchFunctionTask
@dataclass
class ExtenedAwsBatchConfig(AWSBatchConfig):
schedulingPriorityOverride: Optional[int] = None