def METHOD_NAME(self):
    if self.scaling_policy is not None:
        return {
            'ComputeLimits': {
                'UnitType': self.scaling_policy.unit_type,
                'MinimumCapacityUnits': self.scaling_policy.minimum_capacity_units,
                'MaximumCapacityUnits': self.scaling_policy.maximum_capacity_units,
                'MaximumOnDemandCapacityUnits':
                    self.scaling_policy.maximum_on_demand_capacity_units,
                'MaximumCoreCapacityUnits': self.scaling_policy.maximum_core_capacity_units,
            },
        }
    return None